[FFmpeg-devel] [PATCH] ffmpeg: block output == input for files

Gyan Doshi gyandoshi at gmail.com
Mon Sep 17 11:20:42 EEST 2018


On 07-09-2018 12:21 AM, Gyan Doshi wrote:
> On 05-09-2018 06:06 AM, Michael Niedermayer wrote:
>> On Mon, Sep 03, 2018 at 10:48:45AM +0530, Gyan Doshi wrote:
>>> On 31-08-2018 10:26 AM, Gyan Doshi wrote:
>>>> On 31-08-2018 09:57 AM, Gyan Doshi wrote:
>>>>> On 31-08-2018 04:28 AM, Marton Balint wrote:
>>>>>
>>>>>>
>>>>>> Is there any real use case when same source and destination works, so
>>>>>> the option can be used?
>>>>>>
>>>>>> If not, then just make ffmpeg fail, like the cp command fails for 
>>>>>> same
>>>>>> source and destination. I am against adding an option if it has no
>>>>>> known use.
>>>>>
>>>>> Via the file protocol, not that I know of. Will remove.
>>>>>
>>>>> Gyan
>>>>
>>>> Revised patch attached.
>>>
>>> Ping.
>>
>> no objections though this solution has limitations, so if someone has a
>> better idea ...
> 
> Looks like no one does. Plan to push tomorrow.

Pushed as acc9684dcd3949741e944d611f5a2a62db0546e6


More information about the ffmpeg-devel mailing list