X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fwav.c;h=3af547a30e0454b9644c1a1e8f9a490f18bc16c0;hb=a8cedbebf163ad376abc4703b3156c44d0858404;hp=ab4b3b42e7241bcdc4e04808dd250f429c182b14;hpb=b5a69e79c579e6e15e2019ffd34ef0e09aeab586;p=ffmpeg diff --git a/libavformat/wav.c b/libavformat/wav.c index ab4b3b42e72..3af547a30e0 100644 --- a/libavformat/wav.c +++ b/libavformat/wav.c @@ -387,8 +387,7 @@ static const AVMetadataConv wav_metadata_conv[] = { }; /* wav input */ -static int wav_read_header(AVFormatContext *s, - AVFormatParameters *ap) +static int wav_read_header(AVFormatContext *s) { int64_t size, av_uninit(data_size); int64_t sample_count=0; @@ -677,7 +676,7 @@ static int wav_read_seek(AVFormatContext *s, default: break; } - return pcm_read_seek(s, stream_index, timestamp, flags); + return ff_pcm_read_seek(s, stream_index, timestamp, flags); } #define OFFSET(x) offsetof(WAVContext, x) @@ -729,7 +728,7 @@ static int w64_probe(AVProbeData *p) return 0; } -static int w64_read_header(AVFormatContext *s, AVFormatParameters *ap) +static int w64_read_header(AVFormatContext *s) { int64_t size; AVIOContext *pb = s->pb;