OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f12c7ad
)
dvbsubdec: change the top_bottom correction
author
JULIAN GARDNER
<joolzg@btinternet.com>
Fri, 14 Oct 2011 14:26:38 +0000
(16:26 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 14 Oct 2011 18:19:59 +0000
(20:19 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/dvbsubdec.c
patch
|
blob
|
history
diff --git
a/libavcodec/dvbsubdec.c
b/libavcodec/dvbsubdec.c
index
7a3e481
..
2e9ef12
100644
(file)
--- a/
libavcodec/dvbsubdec.c
+++ b/
libavcodec/dvbsubdec.c
@@
-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) {