]> git.sesse.net Git - ffmpeg/commit
avcodec/webp: Return directly when creating Huff table fails
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Thu, 22 Oct 2020 14:03:41 +0000 (16:03 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Tue, 27 Oct 2020 10:51:01 +0000 (11:51 +0100)
commit548f1a3fa479836d60d85d02708db79c6345acea
tree591eda1c406e00cd32e91235e10229acb3741c9a
parentd4cce1514edf023145fb5a8af9c52bb8e95bede1
avcodec/webp: Return directly when creating Huff table fails

Neither the auxiliary VLC table nor the code_lengths array need to be
freed if creating the auxiliary VLC table fails.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/webp.c