mirror of https://github.com/FFmpeg/FFmpeg.git
The test program for the FIFO muxer allocates a buffer without padding and wraps it into a packet via av_packet_from_data(). This is an API violation. Furthermore, said buffer leaks in case av_packet_from_data() fails. Fix both of these issues by using av_new_packet() instead. Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>pull/371/head
parent
aff1d373b1
commit
edcbb3e1b9
1 changed files with 5 additions and 8 deletions
Loading…
Reference in new issue