提交 77bcb896 编写于 作者: V Vladimir Pantelic 提交者: Kostya Shishkov

vc1dec: use codec_id instead of codec_tag for VC1IMAGE

the rest of the code is using codec_id everywhere already
Signed-off-by: NVladimir Pantelic <vladoman@gmail.com>
Signed-off-by: NKostya Shishkov <kostya.shishkov@gmail.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册