Originally committed as revision 25696 to svn://svn.ffmpeg.org/ffmpeg/trunk
Unified · Split
| @@ -249,7 +249,7 @@ static int parse_inputs(const char **buf, AVFilterInOut **curr_inputs, · 248 unmodified lines | ||
| 249 | 249 | AVFilterInOut *match; |
| 250 | 250 | |
| 251 | 251 | if (!name) |
| 252 | − return -1; | |
| 252 | + return AVERROR(EINVAL); | |
| 253 | 253 | |
| 254 | 254 | /* First check if the label is not in the open_outputs list */ |
| 255 | 255 | match = extract_inout(name, open_outputs); |