avconv: allow no input files.

It is now possible to use lavfi sources.
This commit is contained in:
Anton Khirnov
2012-08-05 08:37:43 +02:00
parent a5fd7c607f
commit ab29609701
2 changed files with 8 additions and 5 deletions

View File

@@ -2431,11 +2431,6 @@ int main(int argc, char **argv)
exit_program(1);
}
if (nb_input_files == 0) {
av_log(NULL, AV_LOG_FATAL, "At least one input file must be specified\n");
exit_program(1);
}
ti = getutime();
if (transcode() < 0)
exit_program(1);