Mercurial > libavformat.hg
comparison nutdec.c @ 6383:65745776af68 libavformat
add LAVF_API_MAX_STREAMS define to disable the deprecated MAX_STREAMS API
author | aurel |
---|---|
date | Tue, 17 Aug 2010 19:30:21 +0000 |
parents | 4f920c9dd895 |
children | 4974b3d4992b |
comparison
equal
deleted
inserted
replaced
6382:a4e249f79b66 | 6383:65745776af68 |
---|---|
27 #include "nut.h" | 27 #include "nut.h" |
28 | 28 |
29 #undef NDEBUG | 29 #undef NDEBUG |
30 #include <assert.h> | 30 #include <assert.h> |
31 | 31 |
32 #if LIBAVFORMAT_VERSION_MAJOR < 53 | 32 #if LAVF_API_MAX_STREAMS |
33 #define NUT_MAX_STREAMS MAX_STREAMS | 33 #define NUT_MAX_STREAMS MAX_STREAMS |
34 #else | 34 #else |
35 #define NUT_MAX_STREAMS 256 /* arbitrary sanity check value */ | 35 #define NUT_MAX_STREAMS 256 /* arbitrary sanity check value */ |
36 #endif | 36 #endif |
37 | 37 |