aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vc1dec.c
diff options
context:
space:
mode:
authorVladimir Pantelic <vladoman@gmail.com>2013-02-05 13:31:43 +0100
committerKostya Shishkov <kostya.shishkov@gmail.com>2013-02-06 09:34:32 +0100
commit77bcb89600e79fbf37d4b739480813ef03292c5b (patch)
treefeb94373fe629a44994796958891c1538341e462 /libavcodec/vc1dec.c
parentb2a722a87e3b3a6a7cda067a3481458c236ab18a (diff)
downloadffmpeg-77bcb89600e79fbf37d4b739480813ef03292c5b.tar.gz
vc1dec: use codec_id instead of codec_tag for VC1IMAGE
the rest of the code is using codec_id everywhere already Signed-off-by: Vladimir Pantelic <vladoman@gmail.com> Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
Diffstat (limited to 'libavcodec/vc1dec.c')
-rw-r--r--libavcodec/vc1dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c
index a74e537f5a..81b0966adb 100644
--- a/libavcodec/vc1dec.c
+++ b/libavcodec/vc1dec.c
@@ -5231,7 +5231,7 @@ static av_cold int vc1_decode_init(AVCodecContext *avctx)
av_log(avctx, AV_LOG_ERROR, "Incomplete extradata\n");
return -1;
}
- v->res_sprite = (avctx->codec_tag == MKTAG('W','V','P','2'));
+ v->res_sprite = (avctx->codec_id == AV_CODEC_ID_VC1IMAGE);
}
avctx->profile = v->profile;