Originally committed as revision 21121 to svn://svn.ffmpeg.org/ffmpeg/trunk
Showing the changes to libavfilter/avfiltergraph.c (1 of 3 files). Show all
Unified · Split
| @@ -105,7 +105,7 @@ AVFilterContext *avfilter_graph_get_filter(AVFilterGraph *graph, char *name) · 104 unmodified lines | ||
| 105 | 105 | return NULL; |
| 106 | 106 | } |
| 107 | 107 | |
| 108 | −static int query_formats(AVFilterGraph *graph) | |
| 108 | +static int query_formats(AVFilterGraph *graph, AVClass *log_ctx) | |
| 109 | 109 | { |
| 110 | 110 | int i, j; |
| 111 | 111 | int scaler_count = 0; |
| @@ -186,10 +186,10 @@ static void pick_formats(AVFilterGraph *graph) · 74 unmodified lines | ||
| 186 | 186 | } |
| 187 | 187 | } |
| 188 | 188 | |
| 189 | −int avfilter_graph_config_formats(AVFilterGraph *graph) | |
| 189 | +int avfilter_graph_config_formats(AVFilterGraph *graph, AVClass *log_ctx) | |
| 190 | 190 | { |
| 191 | 191 | /* find supported formats from sub-filters, and merge along links */ |
| 192 | − if(query_formats(graph)) | |
| 192 | + if(query_formats(graph, log_ctx)) | |
| 193 | 193 | return -1; |
| 194 | 194 | |
| 195 | 195 | /* Once everything is merged, it's possible that we'll still have |