Commited in SoC by Bobby Bingham on 2007-07-30 15:54:16 Originally committed as revision 11993 to svn://svn.ffmpeg.org/ffmpeg/trunk
Showing the changes to libavfilter/avfilter.c (1 of 1 file). Show all
Unified · Split
| @@ -117,8 +117,8 @@ void avfilter_unref_pic(AVFilterPicRef *ref) · 116 unmodified lines | |||
| 117 | static int default_config_output_link(AVFilterLink *link) | 117 | static int default_config_output_link(AVFilterLink *link) |
| 118 | { | 118 | { |
| 119 | if(link->src->input_count && link->src->inputs[0]) { | 119 | if(link->src->input_count && link->src->inputs[0]) { |
| 120 | link->w = link->src->inputs[0]->w; | 120 | link->w = link->src->inputs[0]->w; |
| 121 | link->h = link->src->inputs[0]->h; | 121 | link->h = link->src->inputs[0]->h; |
| 122 | } else { | 122 | } else { |
| 123 | /* XXX: any non-simple filter which would cause this branch to be taken | 123 | /* XXX: any non-simple filter which would cause this branch to be taken |
| 124 | * really should implement its own config_props() for this link. */ | 124 | * really should implement its own config_props() for this link. */ |
| @@ -135,7 +135,7 @@ static int default_config_output_link(AVFilterLink *link) · 10 unmodified lines | |||
| 135 | static int *default_query_output_formats(AVFilterLink *link) | 135 | static int *default_query_output_formats(AVFilterLink *link) |
| 136 | { | 136 | { |
| 137 | if(link->src->input_count && link->src->inputs[0]) | 137 | if(link->src->input_count && link->src->inputs[0]) |
| 138 | return avfilter_make_format_list(1, link->src->inputs[0]->format); | 138 | return avfilter_make_format_list(1, link->src->inputs[0]->format); |
| 139 | else | 139 | else |
| 140 | /* XXX: any non-simple filter which would cause this branch to be taken | 140 | /* XXX: any non-simple filter which would cause this branch to be taken |
| 141 | * really should implement its own query_formats() for this link */ | 141 | * really should implement its own query_formats() for this link */ |