Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 297863 Details for
Bug 397575
media-libs/faac-1.28-r1 with media-libs/libmp4v2-1.9.1_p479 - main.c:876:9: error: too few arguments to function 'MP4Close'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
faac-1.28-libmp4v2_r479.patch
faac-1.28-libmp4v2_r479.patch (text/plain), 1.76 KB, created by
Jaakko Perttilä
on 2012-01-04 00:55:52 UTC
(
hide
)
Description:
faac-1.28-libmp4v2_r479.patch
Filename:
MIME Type:
Creator:
Jaakko Perttilä
Created:
2012-01-04 00:55:52 UTC
Size:
1.76 KB
patch
obsolete
>diff -ur faac-1.28.orig/frontend/main.c faac-1.28/frontend/main.c >--- faac-1.28.orig/frontend/main.c 2012-01-04 00:18:01.594597196 +0200 >+++ faac-1.28/frontend/main.c 2012-01-04 02:29:01.436333344 +0200 >@@ -873,8 +873,13 @@ > if (!faacEncSetConfiguration(hEncoder, myFormat)) { > fprintf(stderr, "Unsupported output format!\n"); > #ifdef HAVE_LIBMP4V2 >+ /* r479 fix */ >+#ifdef MP4_CLOSE_DO_NOT_COMPUTE_BITRATE >+ if (container == MP4_CONTAINER) MP4Close(MP4hFile, 0); >+#else > if (container == MP4_CONTAINER) MP4Close(MP4hFile); > #endif >+#endif > return 1; > } > >@@ -885,12 +890,11 @@ > unsigned long ASCLength = 0; > char *version_string; > >-#ifdef MP4_CREATE_EXTENSIBLE_FORMAT >- /* hack to compile against libmp4v2 >= 1.0RC3 >- * why is there no version identifier in mp4.h? */ >+#ifdef MP4_DETAILS_ERROR >+ /* r453 fix */ > MP4hFile = MP4Create(aacFileName, MP4_DETAILS_ERROR, 0); > #else >- MP4hFile = MP4Create(aacFileName, MP4_DETAILS_ERROR, 0, 0); >+ MP4hFile = MP4Create(aacFileName, 0); > #endif > if (!MP4_IS_VALID_FILE_HANDLE(MP4hFile)) { > fprintf(stderr, "Couldn't create output file %s\n", aacFileName); >@@ -1141,11 +1145,21 @@ > /* clean up */ > if (container == MP4_CONTAINER) > { >+#ifdef MP4_CLOSE_DO_NOT_COMPUTE_BITRATE >+ /* r479 fix */ >+ MP4Close(MP4hFile, 0); >+#else > MP4Close(MP4hFile); >+#endif > if (optimizeFlag == 1) > { > fprintf(stderr, "\n\nMP4 format optimization... "); >+#ifdef MP4_DETAILS_ERROR >+ /* r453 fix */ > MP4Optimize(aacFileName, NULL, 0); >+#else >+ MP4Optimize(aacFileName, NULL); >+#endif > fprintf(stderr, "Done!"); > } > } else
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 397575
: 297863