Skip to content
Snippets Groups Projects
Commit 82a6e18b authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

avcodec/mpegvideo: Fix -flags +gray with xvid_vlc_trac7411.h263

parent 9025bc58
No related branches found
No related tags found
No related merge requests found
...@@ -3276,8 +3276,10 @@ void mpv_decode_mb_internal(MpegEncContext *s, int16_t block[12][64], ...@@ -3276,8 +3276,10 @@ void mpv_decode_mb_internal(MpegEncContext *s, int16_t block[12][64],
skip_idct: skip_idct:
if(!readable){ if(!readable){
s->hdsp.put_pixels_tab[0][0](s->dest[0], dest_y , linesize,16); s->hdsp.put_pixels_tab[0][0](s->dest[0], dest_y , linesize,16);
if (!CONFIG_GRAY || !(s->flags & CODEC_FLAG_GRAY)) {
s->hdsp.put_pixels_tab[s->chroma_x_shift][0](s->dest[1], dest_cb, uvlinesize,16 >> s->chroma_y_shift); s->hdsp.put_pixels_tab[s->chroma_x_shift][0](s->dest[1], dest_cb, uvlinesize,16 >> s->chroma_y_shift);
s->hdsp.put_pixels_tab[s->chroma_x_shift][0](s->dest[2], dest_cr, uvlinesize,16 >> s->chroma_y_shift); s->hdsp.put_pixels_tab[s->chroma_x_shift][0](s->dest[2], dest_cr, uvlinesize,16 >> s->chroma_y_shift);
}
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment