mirror of https://github.com/FFmpeg/FFmpeg.git
Use avfilter_graph_alloc() instead of av_mallocz(sizeof(AVFilterGraph)) to allocate an AVFilterGraph; this also properly allocates the graph's internal. The current code just happened to work because it did not make any use of said internal. Also check the allocation; this fixes Coverity #1292528. Reviewed-by: Jan Ekström <jeebjp@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>pull/360/head
parent
4ff73add5d
commit
c253b180cb
1 changed files with 7 additions and 1 deletions
Loading…
Reference in new issue