[MPlayer-cvslog] CVS: main/libmpdemux demux_lavf.c,1.16,1.17

Michael Niedermayer CVS syncmail at mplayerhq.hu
Mon Jul 18 01:54:50 CEST 2005


CVS change done by Michael Niedermayer CVS

Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv15125

Modified Files:
	demux_lavf.c 
Log Message:
LIBAVFORMAT_BUILD >= 4629


Index: demux_lavf.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_lavf.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- demux_lavf.c	26 Jun 2005 15:32:09 -0000	1.16
+++ demux_lavf.c	17 Jul 2005 23:54:48 -0000	1.17
@@ -173,7 +173,11 @@
 
     for(i=0; i<avfc->nb_streams; i++){
         AVStream *st= avfc->streams[i];
+#if LIBAVFORMAT_BUILD >= 4629
+        AVCodecContext *codec= st->codec;
+#else
         AVCodecContext *codec= &st->codec;
+#endif
         
         switch(codec->codec_type){
         case CODEC_TYPE_AUDIO:{




More information about the MPlayer-cvslog mailing list