Commit d56b0984 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/westwood_vqa: Remove unneeded cast

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 0daf6014
......@@ -103,7 +103,7 @@ static int wsvqa_read_header(AVFormatContext *s)
/* the VQA header needs to go to the decoder */
if (ff_get_extradata(st->codec, pb, VQA_HEADER_SIZE) < 0)
return AVERROR(ENOMEM);
header = (uint8_t *)st->codec->extradata;
header = st->codec->extradata;
st->codec->width = AV_RL16(&header[6]);
st->codec->height = AV_RL16(&header[8]);
fps = header[12];
......
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