mirror of https://git.ffmpeg.org/ffmpeg.git
EC: fix dest index for non 420 chroma.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
bcc213cf36
commit
24e3f44aed
|
@ -48,6 +48,8 @@ static void decode_mb(MpegEncContext *s, int ref)
|
|||
|
||||
ff_init_block_index(s);
|
||||
ff_update_block_index(s);
|
||||
s->dest[1] += (16 >> s->chroma_x_shift) - 8;
|
||||
s->dest[2] += (16 >> s->chroma_x_shift) - 8;
|
||||
|
||||
if (CONFIG_H264_DECODER && s->codec_id == CODEC_ID_H264) {
|
||||
H264Context *h = (void*)s;
|
||||
|
|
Loading…
Reference in New Issue