[vlc-commits] avformat mux: check correctly for *info member

Rafaël Carré git at videolan.org
Fri Dec 9 06:33:35 CET 2011


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Fri Dec  9 00:32:31 2011 -0500| [f33e57f5ea63a4129092aa3036e79092bd940aff] | committer: Rafaël Carré

avformat mux: check correctly for *info member

It was added in svn r25418 of FFmpeg
minor was bumped to 81 in r25444

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f33e57f5ea63a4129092aa3036e79092bd940aff
---

 modules/demux/avformat/mux.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/demux/avformat/mux.c b/modules/demux/avformat/mux.c
index dc7f853..28cf1df 100644
--- a/modules/demux/avformat/mux.c
+++ b/modules/demux/avformat/mux.c
@@ -185,7 +185,7 @@ void CloseMux( vlc_object_t *p_this )
     {
         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 ) )
+#if( LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT( 52, 81, 0 ) )
         av_free( p_sys->oc->streams[i]->info );
 #endif
         av_free( p_sys->oc->streams[i] );



More information about the vlc-commits mailing list