aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/utils.c
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/utils.c
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/utils.c')
-rw-r--r--libavcodec/utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index c8bdd80010..2f50c4d07d 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -396,6 +396,8 @@ void avcodec_get_context_defaults(AVCodecContext *s){
s->lmax= FF_QP2LAMBDA * s->qmax;
s->sample_aspect_ratio= (AVRational){0,1};
s->ildct_cmp= FF_CMP_VSAD;
+ s->profile= FF_PROFILE_UNKNOWN;
+ s->level= FF_LEVEL_UNKNOWN;
s->intra_quant_bias= FF_DEFAULT_QUANT_BIAS;
s->inter_quant_bias= FF_DEFAULT_QUANT_BIAS;