changeset 3310:48fc664f7348 libavcodec

Now MPlayer should understand Smacker audio and video codecs.
author kostya
date Wed, 17 May 2006 03:03:53 +0000
parents 5e2c69db0ef7
children 91811825348e
files smacker.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/smacker.c	Tue May 16 15:19:54 2006 +0000
+++ b/smacker.c	Wed May 17 03:03:53 2006 +0000
@@ -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;
             }