aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-08-13 13:59:28 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-08-13 13:59:28 +0000
commitbaced9f5986a466c957456f5cf32a722d8b35512 (patch)
tree48f9ff3b97449b4b4f93e69eacf759cb575b488c /libavcodec/avcodec.h
parentc2b9685ecadbf07e8b351070eb50febb111ab1e3 (diff)
downloadffmpeg-baced9f5986a466c957456f5cf32a722d8b35512.tar.gz
user overrideable level & profile
Originally committed as revision 3385 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index a40a83e37f..d8ab760d33 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -17,7 +17,7 @@ extern "C" {
#define FFMPEG_VERSION_INT 0x000409
#define FFMPEG_VERSION "0.4.9-pre1"
-#define LIBAVCODEC_BUILD 4719
+#define LIBAVCODEC_BUILD 4720
#define LIBAVCODEC_VERSION_INT FFMPEG_VERSION_INT
#define LIBAVCODEC_VERSION FFMPEG_VERSION
@@ -1624,6 +1624,22 @@ typedef struct AVCodecContext {
* - decoding: set by user
*/
int skip_bottom;
+
+ /**
+ * profile
+ * - encoding: set by user
+ * - decoding: set by lavc
+ */
+ int profile;
+#define FF_PROFILE_UNKNOWN -99
+
+ /**
+ * level
+ * - encoding: set by user
+ * - decoding: set by lavc
+ */
+ int level;
+#define FF_LEVEL_UNKNOWN -99
} AVCodecContext;