changeset 32651:6eaa0d19ac10

Make internal FFmpeg use the new API that does not pose a limit on the maximum number of streams.
author reimar
date Fri, 31 Dec 2010 16:04:57 +0000
parents 0ed5f3cf6c6e
children 5603f446c2d4
files configure
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Fri Dec 31 07:21:29 2010 +0000
+++ b/configure	Fri Dec 31 16:04:57 2010 +0000
@@ -6938,7 +6938,7 @@
   die "MPlayer will not compile without libavutil in the source tree."
 ffmpeg=no
 if test "$ffmpeg_a" = auto ; then
-  test -d ffmpeg/libavcore && ffmpeg_a=yes && ffmpeg=yes
+  test -d ffmpeg/libavcore && ffmpeg_a=yes && ffmpeg=yes && extra_cflags="$extra_cflags -DFF_API_MAX_STREAMS=0"
 elif test "$ffmpeg_so" = auto ; then
   ffmpeg_so=no
   if $_pkg_config --exists libavcore ; then