diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-03-03 22:02:22 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-03-03 22:09:01 +0100 |
commit | e2427f04b7bc47968f738ce2a1d7d6c7148f240f (patch) | |
tree | f2999cc4d967e0d2e38614e52079b8444da7235c /ffmpeg_opt.c | |
parent | 14e240cb4aaa4631fa2e97b9d9bcea12e9066aba (diff) | |
download | ffmpeg-e2427f04b7bc47968f738ce2a1d7d6c7148f240f.tar.gz |
ffmpeg_opt: Ask for overwrite in single image2 files too
Fixes Ticket1637
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg_opt.c')
-rw-r--r-- | ffmpeg_opt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c index 89aee67fef..2d890cfda3 100644 --- a/ffmpeg_opt.c +++ b/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]; |