0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00
mpv/sub
Dudemanguy 2dd3951a9c filter_sdh: fix incorrect placement of null terminator
The +1 here is not correct. For a 4-byte unicode character, this would
throw a runtime error because the +1 would try to assign the null
terminator past the actual bound of our array. Just remove it since it
should be exactly equal to whatever we have for bytes.
2024-01-12 20:46:00 -06:00
..
ass_mp.c sub: add --sub-fonts-dir and --osd-fonts-dir options 2023-03-01 02:09:46 +00:00
ass_mp.h sub/ass_mp: filters/f_lavfi: forward declare mp_log 2023-09-21 14:40:11 +00:00
dec_sub.c options: add --secondary-sub-ass-override 2023-12-18 14:58:34 +00:00
dec_sub.h options: add --secondary-sub-pos 2023-12-13 21:18:57 +00:00
draw_bmp.c draw_bmp: fix overflowing coordinates in mark_rcs 2023-07-30 20:06:20 +02:00
draw_bmp.h test: integrate unittests with meson 2023-03-02 15:45:27 +00:00
filter_jsre.c sub: jsre filter: abort init early on empty filter list 2022-06-09 14:38:24 +03:00
filter_regex.c sub: sub-filter-regex and jsre: support ass-to-plaintext 2021-08-05 21:32:22 +03:00
filter_sdh.c filter_sdh: fix incorrect placement of null terminator 2024-01-12 20:46:00 -06:00
img_convert.c various: replace some OOM handling 2023-11-24 10:04:55 +01:00
img_convert.h sub: move RGBA scaling to vo_vaapi 2016-07-03 19:32:43 +02:00
lavc_conv.c sub/lavc_conv: properly fill avctx with codecpar values at init 2023-03-14 23:59:47 +02:00
meson.build build: remove outdated generated directory 2023-07-31 19:00:06 +00:00
osd_font.otf osc: use custom symbols for window controls 2019-12-11 13:53:10 -08:00
osd_libass.c options: add --osd-bar-border-size 2023-11-27 15:02:28 +00:00
osd_state.h ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00:00
osd.c ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00:00
osd.h sub: add --sub-fonts-dir and --osd-fonts-dir options 2023-03-01 02:09:46 +00:00
sd_ass.c options: add --secondary-sub-ass-override 2023-12-18 14:58:34 +00:00
sd_lavc.c options: add --secondary-sub-ass-override 2023-12-18 14:58:34 +00:00
sd.h options: add --secondary-sub-ass-override 2023-12-18 14:58:34 +00:00