mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-23 23:36:57 +00:00
avcodec/mpeg_er: fix clearing chroma blocks for 422 and 444
Fixes ticket #7494.
Signed-off-by: Marton Balint <cus@passwd.hu>
(cherry picked from commit e3a9630982
)
This commit is contained in:
parent
bb01cd3cc0
commit
d4c5f515f0
@ -78,6 +78,8 @@ static void mpeg_er_decode_mb(void *opaque, int ref, int mv_dir, int mv_type,
|
||||
ff_update_block_index(s);
|
||||
|
||||
s->bdsp.clear_blocks(s->block[0]);
|
||||
if (!s->chroma_y_shift)
|
||||
s->bdsp.clear_blocks(s->block[6]);
|
||||
|
||||
s->dest[0] = s->current_picture.f->data[0] +
|
||||
s->mb_y * 16 * s->linesize +
|
||||
|
Loading…
Reference in New Issue
Block a user