]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/westwood_vqa.c
avformat/sbgdec: remove double ;;
[ffmpeg] / libavformat / westwood_vqa.c
index c827fcd88b35f1208806f49977a657288b4ffd32..546164c69233e28ef1e367ea09006187de7d64a5 100644 (file)
@@ -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];