[FFmpeg-trac] #6435(ffmpeg:new): don't give file exists error if the output is dev/null is specified as output file.

FFmpeg trac at avcodec.org
Fri Jun 2 00:25:08 EEST 2017


#6435: don't give file exists error if the output is dev/null is specified as
output file.
-------------------------------------+----------------------------------
             Reporter:  compn        |                    Owner:
                 Type:  enhancement  |                   Status:  new
             Priority:  wish         |                Component:  ffmpeg
              Version:  git-master   |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+----------------------------------

Comment (by kiroma):

 Well... yeah. But why not?
 The change would be pretty simple, and it's a small enchancement, that
 doesn't harm anyone I think.
 It would be as simple as adding if(filename != "/dev/null") to the
 beggining of function that detects wether the output file already exists.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6435#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list