ffmpeg_opt: Ask for overwrite in single image2 files too

Fixes Ticket1637

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/19/head
Michael Niedermayer 12 years ago
parent 14e240cb4a
commit e2427f04b7
  1. 3
      ffmpeg_opt.c

@ -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];

Loading…
Cancel
Save