Commit 77bcb896 authored by Vladimir Pantelic's avatar Vladimir Pantelic Committed by Kostya Shishkov
Browse files

vc1dec: use codec_id instead of codec_tag for VC1IMAGE



the rest of the code is using codec_id everywhere already
Signed-off-by: default avatarVladimir Pantelic <vladoman@gmail.com>
Signed-off-by: default avatarKostya Shishkov <kostya.shishkov@gmail.com>
parent b2a722a8
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment