]> git.sesse.net Git - ffmpeg/commit
Revert "lavfi/avfiltergraph: add check before free the format"
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Fri, 7 Aug 2020 02:28:07 +0000 (04:28 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Wed, 12 Aug 2020 19:27:52 +0000 (21:27 +0200)
commitc4c10feaa8c3604abfec4283715b37358f73b6e7
treedf52ba499c1f91d63991e749bc7ed74c35b21779
parent9d1bf9cffefa2eb57221eb33d5a261750c4bee85
Revert "lavfi/avfiltergraph: add check before free the format"

This reverts commit f156f4ab2317f22bfef33c7eaead0d5d5f162903.

The checks added by said commit are nonsense because they did not help
in case ff_merge_samplerates() or ff_merge_formats() returned NULL
while freeing one of its arguments: Said freeing does not change
the local variables of can_merge_formats().

Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavfilter/avfiltergraph.c