diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-03-16 16:11:29 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-03-16 16:11:29 +0000 |
commit | 3edcacde04911dac4c56fd74053505a493e561f8 (patch) | |
tree | eff6e5bc0a3dcecec4b78e3709b2c9c4fc6271d2 /libavcodec/h264.c | |
parent | 6fe1a1a55b90849974a22118040aef6e17999688 (diff) | |
download | ffmpeg-3edcacde04911dac4c56fd74053505a493e561f8.tar.gz |
init cleanup
Originally committed as revision 2899 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r-- | libavcodec/h264.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 3f60e35e86..632f8a50f7 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -2166,6 +2166,8 @@ static int decode_init(AVCodecContext *avctx){ H264Context *h= avctx->priv_data; MpegEncContext * const s = &h->s; + MPV_decode_defaults(s); + s->avctx = avctx; common_init(h); @@ -2173,7 +2175,6 @@ static int decode_init(AVCodecContext *avctx){ s->workaround_bugs= avctx->workaround_bugs; // set defaults - s->progressive_sequence=1; // s->decode_mb= ff_h263_decode_mb; s->low_delay= 1; avctx->pix_fmt= PIX_FMT_YUV420P; |