Re: [FFmpeg-devel] [PATCH 1/2] avformat/avio: fix ff_rename to respect used protocol

2020-01-08 Thread Michael Niedermayer
On Wed, Jan 08, 2020 at 01:23:39AM +0100, Marton Balint wrote: > Also simplify it, move it to avio.c and make it always log the error. I think at least moving and changing should be seperate so the diff shows what is changed thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF13361

[FFmpeg-devel] [PATCH 1/2] avformat/avio: fix ff_rename to respect used protocol

2020-01-07 Thread Marton Balint
Also simplify it, move it to avio.c and make it always log the error. This fixes for example the image2 muxer when used with an URL which also contains the protocol: ffmpeg -f lavfi -i testsrc -vframes 10 -atomic_writing 1 file:out%d.png Signed-off-by: Marton Balint --- libavformat/avio.c