Commit 9852a9f4 authored by aurel's avatar aurel

fix compilation with --disable-everything --enable-decoder=mpeg2video

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22612 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent c4e48672
......@@ -43,7 +43,7 @@ static void decode_mb(MpegEncContext *s, int ref){
s->dest[1] = s->current_picture.data[1] + (s->mb_y * (16>>s->chroma_y_shift) * s->uvlinesize) + s->mb_x * (16>>s->chroma_x_shift);
s->dest[2] = s->current_picture.data[2] + (s->mb_y * (16>>s->chroma_y_shift) * s->uvlinesize) + s->mb_x * (16>>s->chroma_x_shift);
if(s->codec_id == CODEC_ID_H264){
if(CONFIG_H264_DECODER && s->codec_id == CODEC_ID_H264){
H264Context *h= (void*)s;
h->mb_xy= s->mb_x + s->mb_y*s->mb_stride;
memset(h->non_zero_count_cache, 0, sizeof(h->non_zero_count_cache));
......
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