diff configure @ 33235:6e6eac0ea1b4

Replace usage of AVCodecContext member hurry_up by skip_idct and skip_frame. AVCodecContext member hurry_up is deprecated in favor of skip_idct and skip_frame and won't be applicable with libavcodec starting from major version number 53 by default. The configure hack FF_API_HURRY_UP=1 to allow further usage of hurry_up is no longer needed. As a result, usage of a recent standard ffmpeg as shared library is possible again.
author ib
date Sun, 24 Apr 2011 16:13:25 +0000
parents 17e7a4d3fb57
children 747e5068118c
line wrap: on
line diff
--- a/configure	Sun Apr 24 10:44:12 2011 +0000
+++ b/configure	Sun Apr 24 16:13:25 2011 +0000
@@ -6870,7 +6870,7 @@
   die "MPlayer will not compile without libavutil in the source tree."
 ffmpeg=no
 if test "$ffmpeg_a" = auto ; then
-  test -d ffmpeg/libavutil && ffmpeg_a=yes && ffmpeg=yes && extra_cflags="$extra_cflags -DFF_API_HURRY_UP=1 -DFF_API_MAX_STREAMS=0"
+  test -d ffmpeg/libavutil && 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 libavutil ; then