avcodec/encode: do proper cleanup on failure
Fixes the last remaining memleaks introduced by a22c6a47. Signed-off-by: James Almer <jamrial@gmail.com>
Showing
Please
register
or
sign in
to comment
Fixes the last remaining memleaks introduced by a22c6a47. Signed-off-by: James Almer <jamrial@gmail.com>