diff options
author | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2011-11-07 12:20:22 -0500 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-11-07 19:37:38 +0100 |
commit | f44f093d6009f1027fc2cded80b7aa76f974b750 (patch) | |
tree | 7d32049c6d76a3d88a5ae035e2e3f5c2c8c02984 /libavcodec | |
parent | 5ca392d11984d9d8084add221129605270b3feb6 (diff) | |
download | ffmpeg-f44f093d6009f1027fc2cded80b7aa76f974b750.tar.gz |
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: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/libutvideo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/libutvideo.cpp b/libavcodec/libutvideo.cpp index 3c78f45daf..fa1bcc5504 100644 --- a/libavcodec/libutvideo.cpp +++ b/libavcodec/libutvideo.cpp @@ -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 */ |