aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mpegts.c
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2010-08-17 19:30:21 +0000
committerAurelien Jacobs <aurel@gnuage.org>2010-08-17 19:30:21 +0000
commit072e3efd1b0ca3c5d08fa2119e88fb36b5708592 (patch)
treea8bc9a3117cbda1a9ad97bae018671d5a1e68719 /libavformat/mpegts.c
parent6a36facc3d9c097f626669825e901f09467b542b (diff)
downloadffmpeg-072e3efd1b0ca3c5d08fa2119e88fb36b5708592.tar.gz
add LAVF_API_MAX_STREAMS define to disable the deprecated MAX_STREAMS API
Originally committed as revision 24817 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mpegts.c')
-rw-r--r--libavformat/mpegts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index 997b7686be..89491498cf 100644
--- a/libavformat/mpegts.c
+++ b/libavformat/mpegts.c
@@ -686,7 +686,7 @@ static int mpegts_push_data(MpegTSFilter *filter,
code == 0x1be) /* padding_stream */
goto skip;
-#if LIBAVFORMAT_VERSION_MAJOR < 53
+#if LAVF_API_MAX_STREAMS
if (!pes->st && pes->stream->nb_streams == MAX_STREAMS)
goto skip;
#endif