Mercurial > libavcodec.hg
diff smacker.c @ 3310:48fc664f7348 libavcodec
Now MPlayer should understand Smacker audio and video codecs.
author | kostya |
---|---|
date | Wed, 17 May 2006 03:03:53 +0000 |
parents | 68721b62a528 |
children | 8765ee4eaa45 |
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; }