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

Stefano Sabatini stefano.sabatini-lala
Thu Oct 30 00:43:40 CET 2008


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

Regards.
-- 
FFmpeg = Frenzy and Fostering Mastering Proud Elitist Generator
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-av-codec-get-id-tag-constness-00.patch
Type: text/x-diff
Size: 1317 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081030/0f7295ec/attachment.patch>



More information about the ffmpeg-devel mailing list