mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-12 10:00:08 +01:00
EC: fix dest index for non 420 chroma.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -48,6 +48,8 @@ static void decode_mb(MpegEncContext *s, int ref)
|
|||||||
|
|
||||||
ff_init_block_index(s);
|
ff_init_block_index(s);
|
||||||
ff_update_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) {
|
if (CONFIG_H264_DECODER && s->codec_id == CODEC_ID_H264) {
|
||||||
H264Context *h = (void*)s;
|
H264Context *h = (void*)s;
|
||||||
|
|||||||
Reference in New Issue
Block a user