avdevice/caca: Don't free AVOpt-enabled string manually

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2021-10-09 10:33:22 +02:00
parent 395803c78f
commit 99b4acd3fa

View File

@ -45,8 +45,6 @@ static void caca_deinit(AVFormatContext *s)
{
CACAContext *c = s->priv_data;
av_freep(&c->window_title);
if (c->display) {
caca_free_display(c->display);
c->display = NULL;