Revision 88a28965 libavformat/avformat.h

View differences:

libavformat/avformat.h
22 22
#define AVFORMAT_AVFORMAT_H
23 23

  
24 24
#define LIBAVFORMAT_VERSION_MAJOR 52
25
#define LIBAVFORMAT_VERSION_MINOR 25
25
#define LIBAVFORMAT_VERSION_MINOR 26
26 26
#define LIBAVFORMAT_VERSION_MICRO  0
27 27

  
28 28
#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
......
813 813
                       AVInputFormat *fmt,
814 814
                       int buf_size,
815 815
                       AVFormatParameters *ap);
816

  
817
#if LIBAVFORMAT_VERSION_MAJOR < 53
818
/**
819
 * @deprecated Use avformat_alloc_context() instead.
820
 */
821
attribute_deprecated AVFormatContext *av_alloc_format_context(void);
822
#endif
823

  
816 824
/**
817 825
 * Allocate an AVFormatContext.
818 826
 * Can be freed with av_free() but do not forget to free everything you
819 827
 * explicitly allocated as well!
820 828
 */
821
AVFormatContext *av_alloc_format_context(void);
829
AVFormatContext *avformat_alloc_context(void);
822 830

  
823 831
/**
824 832
 * Read packets of a media file to get stream information. This

Also available in: Unified diff