]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/mlvdec.c
lavf/rtp_h261: Replace restrict with av_restrict.
[ffmpeg] / libavformat / mlvdec.c
index 17bdb17e72e6b48882e3a68f1bed0b7eee55732d..06ea7b3ea5eb81ee7fa7e6475ef346ffd7c60e4e 100644 (file)
@@ -142,7 +142,7 @@ static int scan_file(AVFormatContext *avctx, AVStream *vst, AVStream *ast, int f
             vst->codec->codec_tag = MKTAG('B', 'I', 'T', 16);
             size -= 164;
         } else if (ast && type == MKTAG('W', 'A', 'V', 'I') && size >= 16) {
-            ret = ff_get_wav_header(pb, ast->codec, 16);
+            ret = ff_get_wav_header(pb, ast->codec, 16, 0);
             if (ret < 0)
                 return ret;
             size -= 16;