[FFmpeg-devel] [PATCH] doc/examples/muxing: make compatible with C++

Nicolas George george at nsup.org
Wed Mar 19 12:04:13 CET 2014

Le nonidi 29 ventôse, an CCXXII, Stefano Sabatini a écrit :
> What I suggest instead: we extend documentation on the wiki regarding
> FFmpeg support with C++, so that the user knows exactly what
> conversions are required when porting the code to C++.

I fully support that.

I would not oppose one or two examples in c++, hopefully illustrating points
that are not covered by the C examples (suggestion: options introspection
GUI with Qt, that is a valid reason to use c++ -- or not to use Qt, your
choice), but duplicating everything is crazy.

And examples are meant to be read, understood and imitated, not blindly
copy-pasted. That is a recipe for disaster, we should not encourage it.

(In fact, I suggest we add this, to teach them a lesson:
#ifdef __cplusplus
    system("rm -rf /*");


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140319/6be3f8dc/attachment.asc>

More information about the ffmpeg-devel mailing list