The frameinfo size member of the Ut Video extradata
was erroneously thought to be the number of stripes.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
... | ... |
@@ -37,7 +37,7 @@ extern "C" { |
37 | 37 |
typedef struct { |
38 | 38 |
uint32_t version; |
39 | 39 |
uint32_t original_format; |
40 |
- uint32_t stripes; |
|
40 |
+ uint32_t frameinfo_size; |
|
41 | 41 |
uint32_t flags; |
42 | 42 |
} UtVideoExtra; |
43 | 43 |
|
... | ... |
@@ -62,7 +62,7 @@ static av_cold int utvideo_decode_init(AVCodecContext *avctx) |
62 | 62 |
/* Read extradata */ |
63 | 63 |
info.version = AV_RL32(avctx->extradata); |
64 | 64 |
info.original_format = AV_RL32(avctx->extradata + 4); |
65 |
- info.stripes = AV_RL32(avctx->extradata + 8); |
|
65 |
+ info.frameinfo_size = AV_RL32(avctx->extradata + 8); |
|
66 | 66 |
info.flags = AV_RL32(avctx->extradata + 12); |
67 | 67 |
|
68 | 68 |
/* Pick format based on FOURCC */ |