[FFmpeg-cvslog] lavc/libutvideoenc: Cast an unsigned constant to int.
Carl Eugen Hoyos
cehoyos at ag.or.at
Fri May 13 02:49:16 CEST 2016
Reimar Döffinger <Reimar.Doeffinger <at> gmx.de> writes:
> > - AV_CODEC_CAP_AUTO_THREADS | AV_CODEC_CAP_LOSSLESS
> > + AV_CODEC_CAP_AUTO_THREADS | (int)AV_CODEC_CAP_LOSSLESS
>
> That doesn't seem like a good idea, AV_CODEC_CAP_LOSSLESS does
> not fit in int,
Why does 0x8000 not fit in int?
> so we should not try to store it in one, not explicitly cast
> to int...
What is the correct fix?
Thank you, Carl Eugen
More information about the ffmpeg-cvslog
mailing list