avcodec/mp3_header_decompress: don't free the user provided packet on error
authorJames Almer <jamrial@gmail.com>
Mon, 19 Mar 2018 03:21:19 +0000 (00:21 -0300)
committerJames Almer <jamrial@gmail.com>
Tue, 20 Mar 2018 20:39:00 +0000 (17:39 -0300)
commitf18f9734694ea0761f94d57685f342b690d563b0
treee6581ee4bbaeb5a64913fe639f3142b491046fdd
parente4eaaf7bf6930cd0c9a15631dfee0e235f327ba9
avcodec/mp3_header_decompress: don't free the user provided packet on error

It's owned by the caller.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/mp3_header_decompress_bsf.c