diff options
author | dillo <dillo> | 2007-11-19 09:53:04 +0000 |
---|---|---|
committer | dillo <dillo> | 2007-11-19 09:53:04 +0000 |
commit | 42c7e5c171de5ddded7571ddb4357e742dcb0c1c (patch) | |
tree | 8fddff94c0e171e9b32fb0a69d3333ee2fd2a1a1 /audio/libtunepimp/patches | |
parent | e7abf2e2cbb13dc47d1273d3ab1fa6485f2ad9de (diff) | |
download | pkgsrc-42c7e5c171de5ddded7571ddb4357e742dcb0c1c.tar.gz |
MP4Close returns void now, adapt.
Patch will be sent upstream shortly.
Diffstat (limited to 'audio/libtunepimp/patches')
-rw-r--r-- | audio/libtunepimp/patches/patch-aa | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/audio/libtunepimp/patches/patch-aa b/audio/libtunepimp/patches/patch-aa new file mode 100644 index 00000000000..97fa5dfb7e6 --- /dev/null +++ b/audio/libtunepimp/patches/patch-aa @@ -0,0 +1,24 @@ +$NetBSD: patch-aa,v 1.4 2007/11/19 09:53:08 dillo Exp $ + +--- plugins/mp4/mp4.cpp.orig 2006-11-18 11:51:08.000000000 +0100 ++++ plugins/mp4/mp4.cpp +@@ -231,8 +231,7 @@ mp4ReadMetadata(metadata_t *mdata, const + + strcpy(mdata->fileFormat, fileName + strlen(fileName) - 3); + +- if (!MP4Close(mp4file)) +- return 0; ++ MP4Close(mp4file); + + return 1; + } +@@ -315,8 +314,7 @@ mp4WriteMetadata(const metadata_t *mdata + 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())) |