Commit ec9aef56 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'b068660f'

* commit 'b068660f':
  lavc: deprecate CODEC_CAP_NEG_LINESIZES

Conflicts:
	libavcodec/avcodec.h
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 484f8d77 b068660f
...@@ -825,12 +825,12 @@ typedef struct RcOverride{ ...@@ -825,12 +825,12 @@ typedef struct RcOverride{
* Codec should fill in channel configuration and samplerate instead of container * Codec should fill in channel configuration and samplerate instead of container
*/ */
#define CODEC_CAP_CHANNEL_CONF 0x0400 #define CODEC_CAP_CHANNEL_CONF 0x0400
#if FF_API_NEG_LINESIZES
/** /**
* Codec is able to deal with negative linesizes * @deprecated no codecs use this capability
*/ */
#define CODEC_CAP_NEG_LINESIZES 0x0800 #define CODEC_CAP_NEG_LINESIZES 0x0800
#endif
/** /**
* Codec supports frame-level multithreading. * Codec supports frame-level multithreading.
*/ */
......
...@@ -135,5 +135,8 @@ ...@@ -135,5 +135,8 @@
#ifndef FF_API_FAST_MALLOC #ifndef FF_API_FAST_MALLOC
#define FF_API_FAST_MALLOC (LIBAVCODEC_VERSION_MAJOR < 56) #define FF_API_FAST_MALLOC (LIBAVCODEC_VERSION_MAJOR < 56)
#endif #endif
#ifndef FF_API_NEG_LINESIZES
#define FF_API_NEG_LINESIZES (LIBAVCODEC_VERSION_MAJOR < 56)
#endif
#endif /* AVCODEC_VERSION_H */ #endif /* AVCODEC_VERSION_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment