提交 f44f093d 编写于 作者: D Derek Buitenhuis 提交者: Michael Niedermayer

libutvideodec: Fix name of extradata member

The frameinfo size member of the Ut Video extradata
was erroneously thought to be the number of stripes.
Signed-off-by: NDerek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: NMichael Niedermayer <michaelni@gmx.at>
上级 5ca392d1
......@@ -37,7 +37,7 @@ extern "C" {
typedef struct {
uint32_t version;
uint32_t original_format;
uint32_t stripes;
uint32_t frameinfo_size;
uint32_t flags;
} UtVideoExtra;
......@@ -62,7 +62,7 @@ static av_cold int utvideo_decode_init(AVCodecContext *avctx)
/* Read extradata */
info.version = AV_RL32(avctx->extradata);
info.original_format = AV_RL32(avctx->extradata + 4);
info.stripes = AV_RL32(avctx->extradata + 8);
info.frameinfo_size = AV_RL32(avctx->extradata + 8);
info.flags = AV_RL32(avctx->extradata + 12);
/* Pick format based on FOURCC */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册