[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec smacker.c,1.3,1.4

Konstantin Shishkov CVS kostya
Wed May 17 05:03:56 CEST 2006


Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
In directory mail:/var2/tmp/cvs-serv4779/libavcodec

Modified Files:
	smacker.c 
Log Message:
Now MPlayer should understand Smacker audio and video codecs.


Index: smacker.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/smacker.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- smacker.c	13 May 2006 10:45:25 -0000	1.3
+++ smacker.c	17 May 2006 03:03:53 -0000	1.4
@@ -425,7 +425,7 @@
             break;
         case SMK_BLK_FULL:
             mode = 0;
-            if(avctx->codec_tag != 0) { // In case of Smacker v4 we have three modes
+            if(avctx->codec_tag == MKTAG('S', 'M', 'K', '4')) { // In case of Smacker v4 we have three modes
                 if(get_bits1(&gb)) mode = 1;
                 else if(get_bits1(&gb)) mode = 2;
             }





More information about the ffmpeg-cvslog mailing list