From 8d0e42cad06a5726146048359de46459df3fb675 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 22 Oct 2002 23:43:25 +0000 Subject: [PATCH] more defaults Originally committed as revision 1065 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/utils.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libavcodec/utils.c b/libavcodec/utils.c index e9a9a95143..fcd65364b6 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -62,7 +62,11 @@ void avcodec_get_context_defaults(AVCodecContext *s){ s->i_quant_factor=-0.8; s->i_quant_offset=0.0; s->error_concealment= 3; + s->error_resilience= 1; s->workaround_bugs= FF_BUG_AUTODETECT; + s->frame_rate = 25 * FRAME_RATE_BASE; + s->gop_size= 50; + s->me_method= ME_EPZS; } /**