mirror of
https://github.com/librempeg/librempeg
synced 2024-11-22 18:49:58 +00:00
avformat/westwood_vqa: Remove unneeded cast
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
0daf60140b
commit
d56b0984f9
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user