This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
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
f12c7ad86d
commit
168a5d3b3c
1 changed files
with
1 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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) {
Write
Preview
Loading…
Cancel
Save