[FFmpeg-cvslog] mpegts: fix a unused function warning

Michael Niedermayer git at videolan.org
Mon Apr 2 23:11:42 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Apr  2 21:33:42 2012 +0200| [11bc5580704d1c64143d574ebd71898a5f8ec091] | committer: Michael Niedermayer

mpegts: fix a unused function warning

note the function is used under #if

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=11bc5580704d1c64143d574ebd71898a5f8ec091
---

 libavformat/mpegts.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index 8ca39cf..6a23f06 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;



More information about the ffmpeg-cvslog mailing list