vlc | branch: master | Rafaël Carré <[email protected]> | Thu Dec 8 22:14:45 2011 -0500| [8f940d81428030a31b7c56817520ae9c7221e866] | committer: Rafaël Carré
Fix for antique versions of FFmpeg > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8f940d81428030a31b7c56817520ae9c7221e866 --- modules/demux/avformat/mux.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/modules/demux/avformat/mux.c b/modules/demux/avformat/mux.c index d1449ec..6ad8641 100644 --- a/modules/demux/avformat/mux.c +++ b/modules/demux/avformat/mux.c @@ -185,7 +185,9 @@ void CloseMux( vlc_object_t *p_this ) 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 ); +#if( LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT( 50, 32, 3 ) ) av_free( p_sys->oc->streams[i]->info ); +#endif av_free( p_sys->oc->streams[i] ); } av_free( p_sys->oc->streams ); _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
