ffmpeg_opt: assert_file_overwrite: Work for all file protocol outputs
authorAlexander Strasser <eclipse7@gmx.net>
Sun, 5 Jan 2014 02:06:20 +0000 (03:06 +0100)
committerAlexander Strasser <eclipse7@gmx.net>
Sun, 16 Feb 2014 21:34:21 +0000 (22:34 +0100)
commit2b17c7685fd3ff0bffaf3b45458d4a6283f3935f
tree58a0b808abe5a9b9b8422543862b5d6acbdb7f38
parentdb3c9701f46d20fd7e94c3222cf4fd4524a16414
ffmpeg_opt: assert_file_overwrite: Work for all file protocol outputs

Currently the file overwrite check does not work for paths that
contain a colon.

Use avio_find_protocol to always execute the existence check if
the file protocol is going to be used.

Fix remaining part of ticket #3249.

Signed-off-by: Alexander Strasser <eclipse7@gmx.net>
ffmpeg_opt.c