summaryrefslogtreecommitdiff
path: root/libavformat/nutdec.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/nutdec.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/nutdec.c')
-rw-r--r--libavformat/nutdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c
index 5b4a923135..bdc216270c 100644
--- a/libavformat/nutdec.c
+++ b/libavformat/nutdec.c
@@ -29,7 +29,7 @@
#undef NDEBUG
#include <assert.h>
-#if LIBAVFORMAT_VERSION_MAJOR < 53
+#if LAVF_API_MAX_STREAMS
#define NUT_MAX_STREAMS MAX_STREAMS
#else
#define NUT_MAX_STREAMS 256 /* arbitrary sanity check value */