comparison avformat.h @ 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 63e7b0fb1616
children 2d51ca7714c3
comparison
equal deleted inserted replaced
6382:a4e249f79b66 6383:65745776af68
32 LIBAVFORMAT_VERSION_MINOR, \ 32 LIBAVFORMAT_VERSION_MINOR, \
33 LIBAVFORMAT_VERSION_MICRO) 33 LIBAVFORMAT_VERSION_MICRO)
34 #define LIBAVFORMAT_BUILD LIBAVFORMAT_VERSION_INT 34 #define LIBAVFORMAT_BUILD LIBAVFORMAT_VERSION_INT
35 35
36 #define LIBAVFORMAT_IDENT "Lavf" AV_STRINGIFY(LIBAVFORMAT_VERSION) 36 #define LIBAVFORMAT_IDENT "Lavf" AV_STRINGIFY(LIBAVFORMAT_VERSION)
37
38 #ifndef LAVF_API_MAX_STREAMS
39 #define LAVF_API_MAX_STREAMS (LIBAVFORMAT_VERSION_MAJOR < 53)
40 #endif
37 41
38 /** 42 /**
39 * I return the LIBAVFORMAT_VERSION_INT constant. You got 43 * I return the LIBAVFORMAT_VERSION_INT constant. You got
40 * a fucking problem with that, douchebag? 44 * a fucking problem with that, douchebag?
41 */ 45 */
628 char *title; ///< chapter title 632 char *title; ///< chapter title
629 #endif 633 #endif
630 AVMetadata *metadata; 634 AVMetadata *metadata;
631 } AVChapter; 635 } AVChapter;
632 636
633 #if LIBAVFORMAT_VERSION_MAJOR < 53 637 #if LAVF_API_MAX_STREAMS
634 #define MAX_STREAMS 20 638 #define MAX_STREAMS 20
635 #endif 639 #endif
636 640
637 /** 641 /**
638 * Format I/O context. 642 * Format I/O context.