[FFmpeg-devel] [PATCH] Fix av_codec_get_id()/av_codec_get_tag() params constness

Michael Niedermayer michaelni
Sat Nov 8 15:09:57 CET 2008


On Thu, Oct 30, 2008 at 12:43:40AM +0100, Stefano Sabatini wrote:
> As in subject, this saves some warnings in ffmpeg.c, and it is more
> correct, since those functions are not meant to change the tags array.
> 
> Warnings are:
> ffmpeg.c: In function ?av_encode?:
> ffmpeg.c:1932: warning: passing argument 1 of ?av_codec_get_id? discards qualifiers from pointer target type
> ffmpeg.c:1933: warning: passing argument 1 of ?av_codec_get_tag? discards qualifiers from pointer target type

ok

[..]
-- 
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: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081108/116f3ced/attachment.pgp>



More information about the ffmpeg-devel mailing list