mirror of https://github.com/FFmpeg/FFmpeg.git
This might happen in avio_write() if size == 0 when the direct codepath is taken. It is undefined behaviour according to the spec although it happens to work in practice. Fixes the webm-webvtt-remux FATE-test under UBSan. Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>pull/388/head
parent
e95fdf7660
commit
63b3156558
1 changed files with 4 additions and 2 deletions
Loading…
Reference in new issue