mirror of https://github.com/FFmpeg/FFmpeg.git
If an error happens when preparing the output data buffer, an already allocated array would leak. Fix this by postponing its allocation. Fixes Coverity issue #1473531. Reviewed-by: Guo, Yejun <yejun.guo@intel.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>pull/371/head
parent
16e36d5c0c
commit
508d7005a0
1 changed files with 2 additions and 1 deletions
Loading…
Reference in new issue