diff h264.c @ 5338:5c1695f0f3e4 libavcodec

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
author gpoirier
date Sun, 15 Jul 2007 19:03:12 +0000
parents b2a95ab5d017
children 389366aa3458
line wrap: on
line diff
--- a/h264.c	Sun Jul 15 18:24:26 2007 +0000
+++ b/h264.c	Sun Jul 15 19:03:12 2007 +0000
@@ -2938,6 +2938,7 @@
 
     // set defaults
 //    s->decode_mb= ff_h263_decode_mb;
+    s->quarter_sample = 1;
     s->low_delay= 1;
     avctx->pix_fmt= PIX_FMT_YUV420P;