History

avfilter/avfiltergraph: Free AVFilterGraph options properly

Andreas Rheinhardt committed 5 years ago

Commit 0615a391 parent 22c4f331 file · +2 −2Browse files

Unified · Split

libavfilter/avfiltergraph.c+2−2
@@ -130,8 +130,8 @@ void avfilter_graph_free(AVFilterGraph **graph) · 129 unmodified lines
130130
131131 av_freep(&(*graph)->sink_links);
132132
133− av_freep(&(*graph)->scale_sws_opts);
134− av_freep(&(*graph)->aresample_swr_opts);
133+ av_opt_free(*graph);
134+
135135 av_freep(&(*graph)->filters);
136136 av_freep(&(*graph)->internal);
137137 av_freep(graph);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t