git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df95f14
)
lavc/dvbsub: Add the missing line separator to dvb_encode_rle8().
author
Carl Eugen Hoyos
<ceffmpeg@gmail.com>
Tue, 24 Oct 2017 20:49:04 +0000
(22:49 +0200)
committer
Carl Eugen Hoyos
<ceffmpeg@gmail.com>
Tue, 24 Oct 2017 20:49:04 +0000
(22:49 +0200)
Fixes 256-colour dvb subtitle encoding.
Fixes ticket #6769.
libavcodec/dvbsub.c
patch
|
blob
|
history
diff --git
a/libavcodec/dvbsub.c
b/libavcodec/dvbsub.c
index
04c0c60
..
8cce702
100644
(file)
--- a/
libavcodec/dvbsub.c
+++ b/
libavcodec/dvbsub.c
@@
-239,9
+239,9
@@
static void dvb_encode_rle8(uint8_t **pq,
x += len;
}
/* end of line */
- // 00000000 00000000 end of 8-bit/pixel_code_string
- *q++ = 0x00;
+ // 00000000 end of 8-bit/pixel_code_string
*q++ = 0x00;
+ *q++ = 0xf0;
bitmap += linesize;
}
*pq = q;