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 behavior of keeping the packet unchanged in case of error. Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>pull/281/head
parent
0ffea35657
commit
574929d8b6
1 changed files with 4 additions and 3 deletions
Loading…
Reference in new issue