ffmpeg_opt: Ask for overwrite in single image2 files too

Fixes Ticket1637

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-03-03 22:02:22 +01:00
parent 14e240cb4a
commit e2427f04b7

View File

@ -1706,7 +1706,8 @@ loop_end:
print_error(filename, err);
exit(1);
}
}
} else if (strcmp(oc->oformat->name, "image2")==0 && !av_filename_number_test(filename))
assert_file_overwrite(filename);
if (o->mux_preload) {
uint8_t buf[64];