diff options
| author | Michael Nottebrock <lofi@FreeBSD.org> | 2007-10-21 09:40:57 +0000 |
|---|---|---|
| committer | Michael Nottebrock <lofi@FreeBSD.org> | 2007-10-21 09:40:57 +0000 |
| commit | d5c364982f5cbc426e582836d7eb88dc52073423 (patch) | |
| tree | 6e74f743b617fcda217020a272ba4c6cdea1a39d | |
| parent | - fix rc script (diff) | |
Fix build
| -rw-r--r-- | audio/libtunepimp-old/files/patch-plugins-mp4-mp4.cpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/audio/libtunepimp-old/files/patch-plugins-mp4-mp4.cpp b/audio/libtunepimp-old/files/patch-plugins-mp4-mp4.cpp new file mode 100644 index 000000000000..540daf06d277 --- /dev/null +++ b/audio/libtunepimp-old/files/patch-plugins-mp4-mp4.cpp @@ -0,0 +1,23 @@ +--- plugins/mp4/mp4.cpp.orig Sun Jan 22 13:13:15 2006 ++++ plugins/mp4/mp4.cpp Sun Oct 21 07:45:19 2007 +@@ -224,9 +224,7 @@ + + strcpy(mdata->fileFormat, fileName + strlen(fileName) - 3); + +- if (!MP4Close(mp4file)) +- return 0; +- ++ MP4Close(mp4file); + return 1; + } + +@@ -306,8 +304,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); + + return 1; + } |
