diff --git a/libavformat/mmf.c b/libavformat/mmf.c index df9f299219..31160a91ec 100644 --- a/libavformat/mmf.c +++ b/libavformat/mmf.c @@ -295,12 +295,6 @@ static int mmf_read_close(AVFormatContext *s) return 0; } -static int mmf_read_seek(AVFormatContext *s, - int stream_index, int64_t timestamp, int flags) -{ - return pcm_read_seek(s, stream_index, timestamp, flags); -} - #ifdef CONFIG_MMF_DEMUXER AVInputFormat mmf_demuxer = { "mmf", @@ -310,7 +304,7 @@ AVInputFormat mmf_demuxer = { mmf_read_header, mmf_read_packet, mmf_read_close, - mmf_read_seek, + pcm_read_seek, }; #endif #ifdef CONFIG_MMF_MUXER