]> git.sesse.net Git - ffmpeg/commit
avcodec/vble: Don't free buffer known to be NULL
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sun, 13 Sep 2020 01:52:39 +0000 (03:52 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Wed, 16 Sep 2020 22:09:08 +0000 (00:09 +0200)
commita265e6604eb411316ec7ec91ba1bfaa37c71ef2d
tree62e4b687c186ec147ea59f3aeea58610139b6c01
parentb128344dfcfcf167cd7f6b12b82fddc7efddc98d
avcodec/vble: Don't free buffer known to be NULL

Freeing a buffer allocated in the VBLE decoder's init function
is the only thing the decoder's close function does and this implies
that it is unnecessary to call it in case said allocation fails. Yet
this is what has been done.

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