[x264-devel] [PATCH] Fix use of deprecated av_close_input_file() call.

Jason Martens cacepi at gmail.com
Sat Mar 10 22:37:42 CET 2012


On Mar 10, 2012, at 10:05 AM, Steven Walters wrote:

> configure needs to be updated

Is this OK?


diff --git a/configure b/configure
index 16970b8..97d511b 100755
--- a/configure
+++ b/configure
@@ -825,7 +825,7 @@ if [ "$lavf" = "auto" ] ; then
         done
     fi
     LAVF_LIBS="-L. $LAVF_LIBS"
-    if cc_check libavformat/avformat.h "$LAVF_CFLAGS $LAVF_LIBS" "avformat_find_stream_info(0,0); avcodec_open2(0,0,0);" ; then
+    if cc_check libavformat/avformat.h "$LAVF_CFLAGS $LAVF_LIBS" "avformat_close_input(0);" ; then
         if [ "$swscale" = "yes" ]; then
             lavf="yes"
         else



More information about the x264-devel mailing list