Browse Source

dvbsubdec: change the top_bottom correction

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.9
JULIAN GARDNER Michael Niedermayer 14 years ago
parent
commit
168a5d3b3c
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      libavcodec/dvbsubdec.c

+ 1
- 2
libavcodec/dvbsubdec.c View File

@@ -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…
Cancel
Save