mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
dvbsubdec: change the top_bottom correction
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
f12c7ad86d
commit
168a5d3b3c
@ -789,8 +789,7 @@ static void dvbsub_parse_pixel_data_block(AVCodecContext *avctx, DVBSubObjectDis
|
||||
x_pos = display->x_pos;
|
||||
y_pos = display->y_pos;
|
||||
|
||||
if ((y_pos & 1) != top_bottom)
|
||||
y_pos++;
|
||||
y_pos += top_bottom;
|
||||
|
||||
while (buf < buf_end) {
|
||||
if (x_pos >= region->width || y_pos >= region->height) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user