summaryrefslogtreecommitdiff
path: root/libavcodec/utils.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-03-22 12:09:02 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-03-22 12:09:02 +0000
commit1984f6359ebaf2856b8254747255d154a2a2fe73 (patch)
treeee1e0d21653f2b167e1b379d0e4a064c31698e47 /libavcodec/utils.c
parent65f7062dfaa6aeedb68b0d0b10cbe71ca5b8b2c9 (diff)
user setable quantizer bias
Originally committed as revision 1701 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r--libavcodec/utils.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index d0fae978ca..037abdc00f 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -244,6 +244,9 @@ void avcodec_get_context_defaults(AVCodecContext *s){
s->release_buffer= avcodec_default_release_buffer;
s->get_format= avcodec_default_get_format;
s->me_subpel_quality=8;
+
+ s->intra_quant_bias= FF_DEFAULT_QUANT_BIAS;
+ s->inter_quant_bias= FF_DEFAULT_QUANT_BIAS;
}
/**