dcaenc: cleanup on init failure and add a threadsafe init codec cap
The encoder didn't clean up if a malloc failed during init.
It also doesn't need any external tables to be initialized on init.
Finally, it didn't need to check for whether avctx->priv_data exists during
uninit.
Signed-off-by:
Rostislav Pehlivanov <atomnuker@gmail.com>
Showing
Please
register
or
sign in
to comment