Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 162318 Details for
Bug 218088
Prepare media-plugins/alsa-plugins apps to use newer ffmpeg
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
corrected patch
new-ffmpeg.patch (text/plain), 1.58 KB, created by
Rafał Mużyło
on 2008-08-05 22:20:44 UTC
(
hide
)
Description:
corrected patch
Filename:
MIME Type:
Creator:
Rafał Mużyło
Created:
2008-08-05 22:20:44 UTC
Size:
1.58 KB
patch
obsolete
>--- configure.in.old 2008-07-14 10:57:59.000000000 +0200 >+++ configure.in 2008-08-06 00:07:03.000000000 +0200 >@@ -62,7 +62,7 @@ > AC_SUBST(AVCODEC_LIBS) > AC_CHECK_LIB([avcodec], [avcodec_open], [HAVE_AVCODEC=yes], [HAVE_AVCODEC=no]) > if test x$HAVE_AVCODEC = xyes; then >- AC_CHECK_HEADER([ffmpeg/avcodec.h], [], [HAVE_AVCODEC=no]) >+ AC_CHECK_HEADERS([ffmpeg/avcodec.h], , [AC_CHECK_HEADERS([libavcodec/avcodec.h], , [HAVE_AVCODEC=no])]) > fi > AM_CONDITIONAL(HAVE_AVCODEC, test x$HAVE_AVCODEC = xyes) > CFLAGS="$CFLAGS_saved" >--- rate-lavc/rate_lavcrate.c.old 2008-07-14 10:57:59.000000000 +0200 >+++ rate-lavc/rate_lavcrate.c 2008-08-06 00:02:36.000000000 +0200 >@@ -16,10 +16,15 @@ > * Lesser General Public License for more details. > */ > >+#include "config.h" > #include <stdio.h> > #include <alsa/asoundlib.h> > #include <alsa/pcm_rate.h> >+#ifdef HAVE_FFMPEG_AVCODEC_H > #include <ffmpeg/avcodec.h> >+#elif defined(HAVE_LIBAVCODEC_AVCODEC_H) >+#include <libavcodec/avcodec.h> >+#endif > #include "gcd.h" > > static int filter_size = 16; >--- a52/pcm_a52.c.old 2008-07-14 10:57:59.000000000 +0200 >+++ a52/pcm_a52.c 2008-08-06 00:20:46.000000000 +0200 >@@ -18,6 +18,7 @@ > * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > >+#include "config.h" > #include <stdio.h> > #include <string.h> > #define __USE_XOPEN >@@ -25,7 +26,11 @@ > #include <alsa/asoundlib.h> > #include <alsa/pcm_external.h> > #include <alsa/pcm_plugin.h> >+#ifdef HAVE_FFMPEG_AVCODEC_H > #include <ffmpeg/avcodec.h> >+#elif defined(HAVE_LIBAVCODEC_AVCODEC_H) >+#include <libavcodec/avcodec.h> >+#endif > > struct a52_ctx { > snd_pcm_ioplug_t io;
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 218088
:
162314
| 162318 |
162377