summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-04-02 12:51:28 +0200
committerAnton Khirnov <anton@khirnov.net>2011-04-02 16:18:37 +0200
commited5fcd60b2d1d4993e2094c9836dedb8ef9b2ed3 (patch)
treed4ed9ab9296a7d5b596aff482cce2d380c657247 /libavcodec/avcodec.h
parent8ed2ae09a25e5860342b97f7c2c7729fffaec320 (diff)
lavc: deprecate rate_emu
It's not used anywhere and apparrently hasn't been for a very long time.
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 2122545131..83e0e56555 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -1208,13 +1208,15 @@ typedef struct AVCodecContext {
*/
enum PixelFormat pix_fmt;
+#if FF_API_RATE_EMU
/**
* Frame rate emulation. If not zero, the lower layer (i.e. format handler)
* has to read frames at native frame rate.
* - encoding: Set by user.
* - decoding: unused
*/
- int rate_emu;
+ attribute_deprecated int rate_emu;
+#endif
/**
* If non NULL, 'draw_horiz_band' is called by the libavcodec