comparison avcodec.h @ 5630:327f714d69c0 libavcodec

add a close function to bitstream filter
author benoit
date Tue, 04 Sep 2007 06:48:22 +0000
parents ad0ab0eebd69
children 9810f0bbacb2
comparison
equal deleted inserted replaced
5629:7e5ebda833e9 5630:327f714d69c0
31 #include <sys/types.h> /* size_t */ 31 #include <sys/types.h> /* size_t */
32 32
33 #define AV_STRINGIFY(s) AV_TOSTRING(s) 33 #define AV_STRINGIFY(s) AV_TOSTRING(s)
34 #define AV_TOSTRING(s) #s 34 #define AV_TOSTRING(s) #s
35 35
36 #define LIBAVCODEC_VERSION_INT ((51<<16)+(42<<8)+0) 36 #define LIBAVCODEC_VERSION_INT ((51<<16)+(43<<8)+0)
37 #define LIBAVCODEC_VERSION 51.42.0 37 #define LIBAVCODEC_VERSION 51.43.0
38 #define LIBAVCODEC_BUILD LIBAVCODEC_VERSION_INT 38 #define LIBAVCODEC_BUILD LIBAVCODEC_VERSION_INT
39 39
40 #define LIBAVCODEC_IDENT "Lavc" AV_STRINGIFY(LIBAVCODEC_VERSION) 40 #define LIBAVCODEC_IDENT "Lavc" AV_STRINGIFY(LIBAVCODEC_VERSION)
41 41
42 #define AV_NOPTS_VALUE INT64_C(0x8000000000000000) 42 #define AV_NOPTS_VALUE INT64_C(0x8000000000000000)
2796 int priv_data_size; 2796 int priv_data_size;
2797 int (*filter)(AVBitStreamFilterContext *bsfc, 2797 int (*filter)(AVBitStreamFilterContext *bsfc,
2798 AVCodecContext *avctx, const char *args, 2798 AVCodecContext *avctx, const char *args,
2799 uint8_t **poutbuf, int *poutbuf_size, 2799 uint8_t **poutbuf, int *poutbuf_size,
2800 const uint8_t *buf, int buf_size, int keyframe); 2800 const uint8_t *buf, int buf_size, int keyframe);
2801 void (*close)(AVBitStreamFilterContext *bsfc);
2801 struct AVBitStreamFilter *next; 2802 struct AVBitStreamFilter *next;
2802 } AVBitStreamFilter; 2803 } AVBitStreamFilter;
2803 2804
2804 extern AVBitStreamFilter *av_first_bitstream_filter; 2805 extern AVBitStreamFilter *av_first_bitstream_filter;
2805 2806