Commit e2427f04 authored by Michael Niedermayer's avatar Michael Niedermayer

ffmpeg_opt: Ask for overwrite in single image2 files too

Fixes Ticket1637
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 14e240cb
......@@ -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];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment