[FFmpeg-devel] [PATCH] Fix av_codec_get_id()/av_codec_get_tag() params constness
Stefano Sabatini
stefano.sabatini-lala
Sat Nov 8 19:36:44 CET 2008
On date Saturday 2008-11-08 15:09:57 +0100, Michael Niedermayer encoded:
> 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
Applied, regards.
--
FFmpeg = Faboulous Fast Mean Programmable Exuberant Guide
More information about the ffmpeg-devel
mailing list