History

avcodec/dvbsubenc: fix end of 8-bit/pixel-code-string

Fixes ticket #11606.

Marton Balint committed 1 year ago

Commit 74f470c1 parent 3e859d91 file · +2 −1Browse files

Unified · Split

libavcodec/dvbsubenc.c+2−1
@@ -258,7 +258,8 @@ static int dvb_encode_rle8(uint8_t **pq, int buf_size, · 257 unmodified lines
258258 x += len;
259259 }
260260 /* end of line */
261− // 00000000 end of 8-bit/pixel_code_string
261+ // 00000000 00000000 end of 8-bit/pixel_code_string
262+ *q++ = 0x00;
262263 *q++ = 0x00;
263264 *q++ = 0xf0;
264265 bitmap += linesize;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t