summaryrefslogtreecommitdiffstats
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorwm4 <nfxjfg@googlemail.com>2017-01-16 17:32:18 +0100
committerAnton Khirnov <anton@khirnov.net>2017-02-01 10:47:46 +0100
commit577326d430593a25456393a75212b95d1cd94131 (patch)
tree8a98327cb981dca8cea5510d0d1c19b4c5f0ff17 /libavcodec/avcodec.h
parent3ad825793a43253154bed05827f27425fc0757df (diff)
downloadffmpeg-streaming-577326d430593a25456393a75212b95d1cd94131.zip
ffmpeg-streaming-577326d430593a25456393a75212b95d1cd94131.tar.gz
lavc: deprecate refcounted_frames field
No deprecation guards, because the old decode API (for which this field is needed) doesn't have any either. This field should be removed together with the old decode calls. Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 1872156..8d8fa59 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -2327,7 +2327,7 @@ typedef struct AVCodecContext {
* - encoding: unused
* - decoding: set by the caller before avcodec_open2().
*/
- int refcounted_frames;
+ attribute_deprecated int refcounted_frames;
/* - encoding parameters */
float qcompress; ///< amount of qscale change between easy & hard scenes (0.0-1.0)
OpenPOWER on IntegriCloud