summaryrefslogtreecommitdiff
path: root/libavcodec/smacker.c
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2006-05-17 03:03:53 +0000
committerKostya Shishkov <kostya.shishkov@gmail.com>2006-05-17 03:03:53 +0000
commit103eee535284bb43146fc4b237d171fc0e4fa283 (patch)
tree14ad3aa3981df6df8c7ff19b2f577713aafcc563 /libavcodec/smacker.c
parentb29bddab345dc38edaf8820203d20501edc7a410 (diff)
Now MPlayer should understand Smacker audio and video codecs.
Originally committed as revision 5389 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/smacker.c')
-rw-r--r--libavcodec/smacker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/smacker.c b/libavcodec/smacker.c
index a6f169aca6..162c68ada3 100644
--- a/libavcodec/smacker.c
+++ b/libavcodec/smacker.c
@@ -425,7 +425,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, uint8
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;
}