[FFmpeg-devel] [PATCH 0/4] Use const source pointers in libav copy functions

Roman Fietze roman.fietze at telemotive.de
Thu Apr 3 12:07:42 CEST 2014


Hello List Members,

I have four trivial patches that just make some source pointers const,
mostly in copy functions that copy packets or other data to some
destination of the same type.

There is no resulting code change involved, but these patches help a
little bit e.g. using libav in C++, where you very often have things
like const member functions or where you are passing in data/objects
using const references. Now you don't need to cast away the constness
any more, or even use temporaries to avoid compiler warnings or even
errors.


Roman

-- 
Roman Fietze              Telemotive AG Buero Muehlhausen
Breitwiesen                             73347 Muehlhausen
Tel.: +49(0)7335/18493-45        http://www.telemotive.de



More information about the ffmpeg-devel mailing list