decode: avoid leaks on failure in ff_get_buffer()
If the get_buffer() call fails, the frame might have some side data already set. Make sure it gets freed. Merges Libav commit de776714. Signed-off-by: James Almer <jamrial@gmail.com>
Showing
Please
register
or
sign in
to comment