Open Broadcaster Software
Free, open source software for live streaming and recording
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
obs-ffmpeg-compat.h File Reference

Go to the source code of this file.

Macros

#define LIBAVCODEC_VERSION_CHECK(a, b, c, d, e)
 
#define av_frame_alloc   avcodec_alloc_frame
 
#define av_frame_unref   avcodec_get_frame_defaults
 
#define av_frame_free   avcodec_free_frame
 
#define CODEC_CAP_TRUNC   CODEC_CAP_TRUNCATED
 
#define CODEC_FLAG_TRUNC   CODEC_FLAG_TRUNCATED
 
#define INPUT_BUFFER_PADDING_SIZE   FF_INPUT_BUFFER_PADDING_SIZE
 

Macro Definition Documentation

#define av_frame_alloc   avcodec_alloc_frame
#define av_frame_free   avcodec_free_frame
#define av_frame_unref   avcodec_get_frame_defaults
#define CODEC_CAP_TRUNC   CODEC_CAP_TRUNCATED
#define CODEC_FLAG_TRUNC   CODEC_FLAG_TRUNCATED
#define INPUT_BUFFER_PADDING_SIZE   FF_INPUT_BUFFER_PADDING_SIZE
#define LIBAVCODEC_VERSION_CHECK (   a,
  b,
  c,
  d,
 
)
Value:
( (LIBAVCODEC_VERSION_MICRO < 100 && LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( a, b, c ) ) || \
(LIBAVCODEC_VERSION_MICRO >= 100 && LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( a, d, e ) ) )