1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

mpegts: fix a unused function warning

note the function is used under #if

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-04-02 21:33:42 +02:00
parent e0541c7b5e
commit 11bc558070

View File

@ -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;