avcodec/vp9_superframe_split: fix memory leak in case of output packet creation failure
authorJames Almer <jamrial@gmail.com>
Wed, 21 Mar 2018 04:38:34 +0000 (01:38 -0300)
committerJames Almer <jamrial@gmail.com>
Wed, 21 Mar 2018 04:38:34 +0000 (01:38 -0300)
commit7e0dc7210bed69106632540367544381a565fa4d
treec8172b9894828c56c6393c92823ffa51f28fa2ed
parent72bb955625e8cf03095a4e53a68daf5ad8e739e4
avcodec/vp9_superframe_split: fix memory leak in case of output packet creation failure

Some function calls may fail after the output packet is initialized.

Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/vp9_superframe_split_bsf.c