#4655: Feature request: -y ought not to overwrite source file
------------------------------------+-----------------------------------
             Reporter:  artofit     |                    Owner:
                 Type:  defect      |                   Status:  closed
             Priority:  normal      |                Component:  ffmpeg
              Version:  git-master  |               Resolution:  wontfix
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+-----------------------------------

Comment (by artofit):

 Or
 if (strlen(input_file_name) == strlen(output_file_name)) {
    if (strcmp(input_file_name, output_file_name) ==0) return
 IN_AND_OUT_FILE_ARE_THE_SAME
 }

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4655#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://avcodec.org/mailman/listinfo/ffmpeg-trac

Reply via email to