diff options
author | mich <mich@FreeBSD.org> | 2007-10-15 02:58:37 +0800 |
---|---|---|
committer | mich <mich@FreeBSD.org> | 2007-10-15 02:58:37 +0800 |
commit | acef1b8b398acf8b52d74db90771118bb24c89c8 (patch) | |
tree | 497a4c1ca1af47d4caf6b3e8ec87021f4fc9c9c8 /audio | |
parent | ad36efb00acd4ff23ceb62f7bab925cdb57e5a3c (diff) | |
download | freebsd-ports-gnome-acef1b8b398acf8b52d74db90771118bb24c89c8.tar.gz freebsd-ports-gnome-acef1b8b398acf8b52d74db90771118bb24c89c8.tar.zst freebsd-ports-gnome-acef1b8b398acf8b52d74db90771118bb24c89c8.zip |
- fix breakage from lastest mpeg4ip-libmp4v2
PR: ports/116972
Submitted by: Armin Pirkovitsch <a.pirko@inode.at>
Diffstat (limited to 'audio')
-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) |