[FFmpeg-devel] [PATCH]Use enum CodecID in ffmpeg.c

Michael Niedermayer michaelni
Wed Jul 1 13:42:30 CEST 2009


On Tue, Jun 30, 2009 at 07:52:52PM +0200, Carl Eugen Hoyos wrote:
> Hi!
>
> Attached patch reduces the number of warnings when compiling ffmpeg.c with 
> icc.
>
> /home/fate/fate64/source/ffmpeg.c(3100): warning #188: enumerated type 
> mixed with another type
>               codec = avcodec_find_encoder(codec_id);
>                                            ^
>
> /home/fate/fate64/source/ffmpeg.c(3103): warning #188: enumerated type 
> mixed with another type
>           video_enc->codec_id = codec_id;
>                               ^
>
> /home/fate/fate64/source/ffmpeg.c(3235): warning #188: enumerated type 
> mixed with another type
>               codec = avcodec_find_encoder(codec_id);
>                                            ^
>
> /home/fate/fate64/source/ffmpeg.c(3237): warning #188: enumerated type 
> mixed with another type
>           audio_enc->codec_id = codec_id;
>                               ^
>
> Please comment, Carl Eugen

mime type: text/PLAIN ? (yes uppercase)
btw, patches ending in .diff and .patch are better recognized as such

patch content ok btw

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Into a blind darkness they enter who follow after the Ignorance,
they as if into a greater darkness enter who devote themselves
to the Knowledge alone. -- Isha Upanishad
-------------- 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/20090701/480612b1/attachment.pgp>



More information about the ffmpeg-devel mailing list