aboutsummaryrefslogtreecommitdiff
path: root/audio/libtunepimp
diff options
context:
space:
mode:
authorAlexander Botero-Lowry <alexbl@FreeBSD.org>2007-10-02 23:25:43 +0000
committerAlexander Botero-Lowry <alexbl@FreeBSD.org>2007-10-02 23:25:43 +0000
commitef1c54b116815eedcef6a5993380c0c10ba52ca1 (patch)
tree6a892014d11b682e8559ab3b3f029d42e10faa40 /audio/libtunepimp
parent6420cce43adfe0f6ff1efa3e733ee248105afe2f (diff)
downloadports-ef1c54b116815eedcef6a5993380c0c10ba52ca1.tar.gz
ports-ef1c54b116815eedcef6a5993380c0c10ba52ca1.zip
Notes
Diffstat (limited to 'audio/libtunepimp')
-rw-r--r--audio/libtunepimp/files/patch-plugins-mp4-mp4.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/audio/libtunepimp/files/patch-plugins-mp4-mp4.cpp b/audio/libtunepimp/files/patch-plugins-mp4-mp4.cpp
new file mode 100644
index 000000000000..eb14fb2c18f1
--- /dev/null
+++ b/audio/libtunepimp/files/patch-plugins-mp4-mp4.cpp
@@ -0,0 +1,23 @@
+--- plugins/mp4/mp4.cpp.orig 2006-11-18 02:51:08.000000000 -0800
++++ plugins/mp4/mp4.cpp 2007-10-02 16:24:06.000000000 -0700
+@@ -231,9 +231,7 @@
+
+ strcpy(mdata->fileFormat, fileName + strlen(fileName) - 3);
+
+- if (!MP4Close(mp4file))
+- return 0;
+-
++ MP4Close(mp4file);
+ return 1;
+ }
+
+@@ -315,8 +313,7 @@
+ sprintf(temp, "%d", mdata->nonAlbum);
+ MP4SetMetadataFreeForm(mp4file, "MusicBrainz Non-Album", (u_int8_t *)temp, strlen(temp) + 1);
+
+- if (!MP4Close(mp4file))
+- return 0;
++ MP4Close(mp4file);
+
+ #ifndef WIN32
+ if (!MP4Optimize(utf8ToEncoding(fileName, encoding).c_str()))