fix visual painting of MVs from h264: they are painted twice too long

since the MVs are in qpel res.
Patch by Andreas Öman % andreas A olebyn P nu %
Date: Jul 14, 2007 12:40 PM
Subject: [FFmpeg-devel] [PATCH] h264 mv visualization

Originally committed as revision 9688 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Andreas Öman 2007-07-15 19:03:12 +00:00 committed by Guillaume Poirier
parent c4194cc606
commit 9a5a05d0b3
1 changed files with 1 additions and 0 deletions

View File

@ -2938,6 +2938,7 @@ static int decode_init(AVCodecContext *avctx){
// set defaults
// s->decode_mb= ff_h263_decode_mb;
s->quarter_sample = 1;
s->low_delay= 1;
avctx->pix_fmt= PIX_FMT_YUV420P;