Commit ece5edec authored by Rafaël Carré's avatar Rafaël Carré

Workaround FFmpeg doc/APIchanges lies (cherry picked from commit...

Workaround FFmpeg doc/APIchanges lies (cherry picked from commit 5b55c4db)
Signed-off-by: default avatarKO Myung-Hun <komh@chollian.net>
Signed-off-by: default avatarRafaël Carré <funman@videolan.org>
parent f084d987
......@@ -251,7 +251,7 @@ int OpenDemux( vlc_object_t *p_this )
psz_url = NULL;
vlc_avcodec_lock(); /* avformat calls avcodec behind our back!!! */
#if LIBAVFORMAT_VERSION_INT >= ((53<<16)+(17<<8)+0)
#if LIBAVFORMAT_VERSION_INT >= ((53<<16)+(26<<8)+0)
error = avformat_find_stream_info( p_sys->ic, NULL /* options */ );
#else
error = av_find_stream_info( p_sys->ic );
......@@ -537,7 +537,7 @@ void CloseDemux( vlc_object_t *p_this )
free( p_sys->tk_pcr );
if( p_sys->ic )
#if LIBAVFORMAT_VERSION_INT >= ((53<<16)+(17<<8)+0)
#if LIBAVFORMAT_VERSION_INT >= ((53<<16)+(26<<8)+0)
avformat_close_input( &p_sys->ic );
#else
av_close_input_stream( p_sys->ic );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment