[FFmpeg-devel] [PATCH] Stricter const prototypes for sws_scale_*

Alexis Ballier alexis.ballier
Tue Jan 19 14:17:55 CET 2010

Since src[x] isn't modified either, this doesn't harm and it is imho
cleaner to declare the functions with the strictest prototype
As a side effect (that you probably couldn't care less), this fixes
backward compatibilty for calling sws_scale from c++ as it doesn't
allow converting ** to const ** but wants const* const*

-------------- next part --------------
A non-text attachment was scrubbed...
Name: sws_const_stricter.patch
Type: application/octet-stream
Size: 1935 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100119/a0c60f5a/attachment.obj>

More information about the ffmpeg-devel mailing list