diff options
-rw-r--r-- | audio/amarok-kde4/files/patch-amarok_src_metadata_mp4_mp4file.cpp | 15 | ||||
-rw-r--r-- | audio/amarok/files/patch-amarok_src_metadata_mp4_mp4file.cpp | 15 |
2 files changed, 28 insertions, 2 deletions
diff --git a/audio/amarok-kde4/files/patch-amarok_src_metadata_mp4_mp4file.cpp b/audio/amarok-kde4/files/patch-amarok_src_metadata_mp4_mp4file.cpp index 35000f132539..181d18e156a0 100644 --- a/audio/amarok-kde4/files/patch-amarok_src_metadata_mp4_mp4file.cpp +++ b/audio/amarok-kde4/files/patch-amarok_src_metadata_mp4_mp4file.cpp @@ -3,7 +3,7 @@ $FreeBSD$ --- amarok/src/metadata/mp4/mp4file.cpp.orig +++ amarok/src/metadata/mp4/mp4file.cpp -@@ -23,9 +23,8 @@ +@@ -27,9 +27,8 @@ #include "mp4tag.h" #include <tfile.h> @@ -14,3 +14,16 @@ $FreeBSD$ #define MP4V2_HAS_WRITE_BUG 1 +@@ -156,10 +155,8 @@ + } + #endif + +- if(!MP4Close(handle)) +- { +- fprintf(stderr, "close failed\n"); +- } ++ MP4Close(handle); ++ handle=NULL; + + mp4file = MP4Read(name()); + if(mp4file == MP4_INVALID_FILE_HANDLE) diff --git a/audio/amarok/files/patch-amarok_src_metadata_mp4_mp4file.cpp b/audio/amarok/files/patch-amarok_src_metadata_mp4_mp4file.cpp index 35000f132539..181d18e156a0 100644 --- a/audio/amarok/files/patch-amarok_src_metadata_mp4_mp4file.cpp +++ b/audio/amarok/files/patch-amarok_src_metadata_mp4_mp4file.cpp @@ -3,7 +3,7 @@ $FreeBSD$ --- amarok/src/metadata/mp4/mp4file.cpp.orig +++ amarok/src/metadata/mp4/mp4file.cpp -@@ -23,9 +23,8 @@ +@@ -27,9 +27,8 @@ #include "mp4tag.h" #include <tfile.h> @@ -14,3 +14,16 @@ $FreeBSD$ #define MP4V2_HAS_WRITE_BUG 1 +@@ -156,10 +155,8 @@ + } + #endif + +- if(!MP4Close(handle)) +- { +- fprintf(stderr, "close failed\n"); +- } ++ MP4Close(handle); ++ handle=NULL; + + mp4file = MP4Read(name()); + if(mp4file == MP4_INVALID_FILE_HANDLE) |