diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index 8ca39cfb8f..6a23f0647c 100644 --- a/libavformat/mpegts.c +++ b/libavformat/mpegts.c @@ -2107,7 +2107,7 @@ static int mpegts_read_close(AVFormatContext *s) return 0; } -static int64_t mpegts_get_pcr(AVFormatContext *s, int stream_index, +static av_unused int64_t mpegts_get_pcr(AVFormatContext *s, int stream_index, int64_t *ppos, int64_t pos_limit) { MpegTSContext *ts = s->priv_data;