History

lavfi: add avfilter_init_str() to replace avfilter_init_filter().

Drop the unused opaque parameter from its signature.

Anton Khirnov committed 13 years ago

Commit 48a5ada1 parent 1565cbc7 files · +33 −3Browse files

Showing the changes to libavfilter/avfiltergraph.c (1 of 7 files). Show all

Unified · Split

libavfilter/avfiltergraph.c+3−1
@@ -103,7 +103,9 @@ int avfilter_graph_create_filter(AVFilterContext **filt_ctx, AVFilter *filt, · 102 unmodified lines
103103 *filt_ctx = avfilter_graph_alloc_filter(graph_ctx, filt, name);
104104 if (!*filt_ctx)
105105 return AVERROR(ENOMEM);
106− if ((ret = avfilter_init_filter(*filt_ctx, args, opaque)) < 0)
106+
107+ ret = avfilter_init_str(*filt_ctx, args);
108+ if (ret < 0)
107109 goto fail;
108110
109111 return 0;

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