mirror of https://github.com/FFmpeg/FFmpeg.git
If realloc fails, the pointer is overwritten and the previously allocated buffer is leaked, which goes against the expected functionality of keeping the packet unchanged in case of error. Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>pull/117/merge
parent
c7ab0eb305
commit
aa498c3183
1 changed files with 4 additions and 3 deletions
Loading…
Reference in new issue