Commit 8d8d542c authored by lorenm's avatar lorenm

10l in h264 vismb/vismv (broke on 2006-03-09)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5309 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent b65923d9
......@@ -1831,7 +1831,7 @@ void ff_print_debug_info(MpegEncContext *s, AVFrame *pict){
const int width = s->avctx->width;
const int height= s->avctx->height;
const int mv_sample_log2= 4 - pict->motion_subsample_log2;
const int mv_stride= (s->mb_width << mv_sample_log2) + 1;
const int mv_stride= (s->mb_width << mv_sample_log2) + (s->codec_id == CODEC_ID_H264 ? 0 : 1);
s->low_delay=0; //needed to see the vectors without trashing the buffers
avcodec_get_chroma_sub_sample(s->avctx->pix_fmt, &h_chroma_shift, &v_chroma_shift);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment