summaryrefslogtreecommitdiff
path: root/libavformat/westwood_vqa.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-01-03 21:03:44 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-01-03 21:03:44 +0100
commitd56b0984f977dd82e5182593247b8984802db834 (patch)
treea842e02641470a4c77cc1dd0e4489fc0c06b3c61 /libavformat/westwood_vqa.c
parent0daf60140bd07436e063c13501755fb4c8d2dfe3 (diff)
avformat/westwood_vqa: Remove unneeded cast
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/westwood_vqa.c')
-rw-r--r--libavformat/westwood_vqa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/westwood_vqa.c b/libavformat/westwood_vqa.c
index c827fcd88b..546164c692 100644
--- a/libavformat/westwood_vqa.c
+++ b/libavformat/westwood_vqa.c
@@ -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];