Skip to content

Commit

Permalink
ncvisual: free up the oframe #241
Browse files Browse the repository at this point in the history
  • Loading branch information
dankamongmen committed Jan 1, 2020
1 parent e05ec51 commit 44da49d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/libav.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ void ncvisual_destroy(ncvisual* ncv){
avcodec_close(ncv->codecctx);
avcodec_free_context(&ncv->codecctx);
av_frame_free(&ncv->frame);
// av_frame_unref(ncv->oframe); FIXME
av_freep(&ncv->oframe);
avcodec_parameters_free(&ncv->cparams);
sws_freeContext(ncv->swsctx);
av_packet_free(&ncv->packet);
Expand Down

0 comments on commit 44da49d

Please sign in to comment.