We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8816c0f commit 6212117Copy full SHA for 6212117
lib/upipe-av/upipe_avcodec_encode.c
@@ -1998,7 +1998,7 @@ static void upipe_avcenc_free(struct upipe *upipe)
1998
struct upipe_avcenc *upipe_avcenc = upipe_avcenc_from_upipe(upipe);
1999
2000
if (upipe_avcenc->context != NULL)
2001
- av_free(upipe_avcenc->context);
+ avcodec_free_context(&upipe_avcenc->context);
2002
av_frame_free(&upipe_avcenc->frame);
2003
av_packet_free(&upipe_avcenc->avpkt);
2004
0 commit comments