[FFmpeg-devel] [PATCH] ffmpeg_opt: Do not overwrite output if there is no input

Michael Niedermayer michaelni at gmx.at
Sat Mar 28 03:41:34 CET 2015


On Sat, Mar 28, 2015 at 03:21:17AM +0100, Alexander Strasser wrote:
> Hi all,
> hi Michael!
> 
>   I have attached the solution I worked on. It is
> probably inferior to yours. I honestly don't know
> and didn't think to hard about it. It passes my
> basic tests and fate at least.
> 
>   Just posting for completeness and maybe I will
> learn something new.

your patch breaks:
./ffmpeg -metadata a=b test.ffmeta

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150328/95e3b1ab/attachment.asc>


More information about the ffmpeg-devel mailing list