From 77bcb89600e79fbf37d4b739480813ef03292c5b Mon Sep 17 00:00:00 2001 From: Vladimir Pantelic Date: Tue, 5 Feb 2013 13:31:43 +0100 Subject: 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 Signed-off-by: Kostya Shishkov --- libavcodec/vc1dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/vc1dec.c') 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; -- cgit v1.2.3