Commit 168a5d3b authored by JULIAN GARDNER's avatar JULIAN GARDNER Committed by Michael Niedermayer

dvbsubdec: change the top_bottom correction

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent f12c7ad8
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment