diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2006-05-17 03:03:53 +0000 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2006-05-17 03:03:53 +0000 |
commit | 103eee535284bb43146fc4b237d171fc0e4fa283 (patch) | |
tree | 14ad3aa3981df6df8c7ff19b2f577713aafcc563 /libavcodec/smacker.c | |
parent | b29bddab345dc38edaf8820203d20501edc7a410 (diff) | |
download | ffmpeg-103eee535284bb43146fc4b237d171fc0e4fa283.tar.gz |
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.c | 2 |
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; } |