diff options
author | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2017-10-24 22:49:04 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2017-10-24 22:49:04 +0200 |
commit | 6e1654768585692e327343059b35695b6123444a (patch) | |
tree | 353faf49d6be7ac933a89870f16e990790581f81 /libavcodec | |
parent | df95f145be1556da7e147d642e4fd8bf96276321 (diff) | |
download | ffmpeg-6e1654768585692e327343059b35695b6123444a.tar.gz |
lavc/dvbsub: Add the missing line separator to dvb_encode_rle8().
Fixes 256-colour dvb subtitle encoding.
Fixes ticket #6769.
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/dvbsub.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/dvbsub.c b/libavcodec/dvbsub.c index 04c0c60626..8cce702a9e 100644 --- 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; |