mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
4:2:2 4:4:4 bugfix for the error concealment code.
Originally committed as revision 20678 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
5f1836a7de
commit
f40a7fd316
@ -33,8 +33,8 @@
|
||||
|
||||
static void decode_mb(MpegEncContext *s){
|
||||
s->dest[0] = s->current_picture.data[0] + (s->mb_y * 16* s->linesize ) + s->mb_x * 16;
|
||||
s->dest[1] = s->current_picture.data[1] + (s->mb_y * 8 * s->uvlinesize) + s->mb_x * 8;
|
||||
s->dest[2] = s->current_picture.data[2] + (s->mb_y * 8 * s->uvlinesize) + s->mb_x * 8;
|
||||
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);
|
||||
|
||||
MPV_decode_mb(s, s->block);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user