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

Jason Martens cacepi at gmail.com
Sat Mar 10 06:48:38 CET 2012


---
 input/lavf.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/input/lavf.c b/input/lavf.c
index b3b7fc6..8ca5fe7 100644
--- a/input/lavf.c
+++ b/input/lavf.c
@@ -245,7 +245,7 @@ static int close_file( hnd_t handle )
 {
     lavf_hnd_t *h = handle;
     avcodec_close( h->lavf->streams[h->stream_id]->codec );
-    av_close_input_file( h->lavf );
+    avformat_close_input( &h->lavf );
     free( h );
     return 0;
 }
-- 
1.7.7.5 (Apple Git-26)


More information about the x264-devel mailing list