Commit 8f940d81 authored by Rafaël Carré's avatar Rafaël Carré

Fix for antique versions of FFmpeg

parent d824a709
...@@ -185,7 +185,9 @@ void CloseMux( vlc_object_t *p_this ) ...@@ -185,7 +185,9 @@ void CloseMux( vlc_object_t *p_this )
if( p_sys->oc->streams[i]->codec->extradata ) if( p_sys->oc->streams[i]->codec->extradata )
av_free( p_sys->oc->streams[i]->codec->extradata ); av_free( p_sys->oc->streams[i]->codec->extradata );
av_free( p_sys->oc->streams[i]->codec ); av_free( p_sys->oc->streams[i]->codec );
#if( LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT( 50, 32, 3 ) )
av_free( p_sys->oc->streams[i]->info ); av_free( p_sys->oc->streams[i]->info );
#endif
av_free( p_sys->oc->streams[i] ); av_free( p_sys->oc->streams[i] );
} }
av_free( p_sys->oc->streams ); av_free( p_sys->oc->streams );
......
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