]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/bink.c
avformat: add AVFormatContext to ff_get_extradata()
[ffmpeg] / libavformat / bink.c
index 56dbf9e1c15d0a200be33c1ba8b0a69b9b1093da..b95c83d97ded8585a654dded59b2429fe49e0d8b 100644 (file)
@@ -129,7 +129,7 @@ static int read_header(AVFormatContext *s)
         vst->codecpar->codec_id = AV_CODEC_ID_NONE;
     }
 
-    if (ff_get_extradata(vst->codecpar, pb, 4) < 0)
+    if (ff_get_extradata(s, vst->codecpar, pb, 4) < 0)
         return AVERROR(ENOMEM);
 
     bink->num_audio_tracks = avio_rl32(pb);