summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-06-08 08:27:53 +0200
committerAnton Khirnov <anton@khirnov.net>2011-07-10 17:10:49 +0200
commit84626b364babc27c5a3db454ebf6a02aeaa186fe (patch)
tree686ab526ca0ac930bc7bbcc0e4bb81591a83a0bf /libavcodec/avcodec.h
parent71a861cf4010ab835fab383a250f27903eb61a34 (diff)
lavc: add support for codec-specific defaults.
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 3f016807ab..ba6342a09e 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -2860,6 +2860,8 @@ typedef struct AVProfile {
const char *name; ///< short name for the profile
} AVProfile;
+typedef struct AVCodecDefault AVCodecDefault;
+
/**
* AVCodec.
*/
@@ -2922,6 +2924,11 @@ typedef struct AVCodec {
*/
int (*update_thread_context)(AVCodecContext *dst, const AVCodecContext *src);
/** @} */
+
+ /**
+ * Private codec-specific defaults.
+ */
+ const AVCodecDefault *defaults;
} AVCodec;
/**