[FFmpeg-cvslog] lavc/libutvideoenc: Cast an unsigned constant to int.

Carl Eugen Hoyos cehoyos at ag.or.at
Fri May 13 21:32:04 CEST 2016


Reimar Döffinger <Reimar.Doeffinger <at> gmx.de> writes:

> Where does it get converted from unsigned to int?

I absolutely may misunderstand your question but afaict, 
there is an assignment of an unsigned value to an variable 
with type int.

> If we want valid code, we can never ever convert anything 
> that contains AV_CODEC_CAP_LOSSLESS to int.

I don't disagree (I don't know) but the same compiler that 
printed a warning with the old code assigns the expected 
value now.

Carl Eugen


More information about the ffmpeg-cvslog mailing list