[FFmpeg-devel] [PATCH 1/4] dict: const pointers to dictionary where possible

Michael Niedermayer michaelni at gmx.at
Thu Apr 3 13:30:20 CEST 2014

On Thu, Apr 03, 2014 at 12:43:41PM +0200, Roman Fietze wrote:
> This avoids temporaries or ugly casting in the calling code where
> const dictionaries are used. Esp. helpful when writing C++ wrappers
> for an AVDictionary having const member functions and CTORs with const
> references.
> Signed-off-by: Roman Fietze <roman.fietze at telemotive.de>



Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When the tyrant has disposed of foreign enemies by conquest or treaty, and
there is nothing more to fear from them, then he is always stirring up
some war or other, in order that the people may require a leader. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140403/8500663e/attachment.asc>

More information about the ffmpeg-devel mailing list