summaryrefslogtreecommitdiffstats
path: root/test/libtunepimp/m4.patch
diff options
context:
space:
mode:
Diffstat (limited to 'test/libtunepimp/m4.patch')
-rw-r--r--test/libtunepimp/m4.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/libtunepimp/m4.patch b/test/libtunepimp/m4.patch
new file mode 100644
index 000000000..fcad6c6f2
--- /dev/null
+++ b/test/libtunepimp/m4.patch
@@ -0,0 +1,21 @@
+--- plugins/mp4/mp4.cpp~ 2009-05-09 16:00:27.000000000 +0200
++++ plugins/mp4/mp4.cpp 2009-05-09 16:00:27.000000000 +0200
+@@ -232,7 +232,7 @@
+
+ strcpy(mdata->fileFormat, fileName + strlen(fileName) - 3);
+
+- if (!MP4Close(mp4file))
++ MP4Close(mp4file);
+ return 0;
+
+ return 1;
+@@ -316,7 +316,7 @@
+ sprintf(temp, "%d", mdata->nonAlbum);
+ MP4SetMetadataFreeForm(mp4file, "MusicBrainz Non-Album", (u_int8_t *)temp, strlen(temp) + 1);
+
+- if (!MP4Close(mp4file))
++ MP4Close(mp4file);
+ return 0;
+
+ #ifndef WIN32
+