]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/dxa.c
Merge commit '1f171de8cae9d0c527c5f0bae2a597dbd65fd3a4'
[ffmpeg] / libavformat / dxa.c
index 44033563f8a7cb2682f3fc1c212d5b2f8ba7dc57..228e6fdca1a0df55cac13799865c62e220f9d363 100644 (file)
@@ -106,7 +106,7 @@ static int dxa_read_header(AVFormatContext *s)
         ast = avformat_new_stream(s, NULL);
         if (!ast)
             return AVERROR(ENOMEM);
-        ret = ff_get_wav_header(pb, ast->codec, fsize, 0);
+        ret = ff_get_wav_header(s, pb, ast->codec, fsize, 0);
         if (ret < 0)
             return ret;
         if (ast->codec->sample_rate > 0)