[FFmpeg-cvslog] avformat/westwood_vqa: Remove unneeded cast

Michael Niedermayer git at videolan.org
Sat Jan 3 21:43:09 CET 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Jan  3 21:03:44 2015 +0100| [d56b0984f977dd82e5182593247b8984802db834] | committer: Michael Niedermayer

avformat/westwood_vqa: Remove unneeded cast

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d56b0984f977dd82e5182593247b8984802db834
---

 libavformat/westwood_vqa.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/westwood_vqa.c b/libavformat/westwood_vqa.c
index c827fcd..546164c 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];



More information about the ffmpeg-cvslog mailing list