[FFmpeg-devel] avcodec/proresenc_aw improvements
Martin Vignali
martin.vignali at gmail.com
Sat Oct 20 13:57:47 EEST 2018
>
> See coverity bug report, avctx->profile is not checked for valid values i
> think.
>
> Hello,
Doesn't find where avctx->profile can have an invalid value
seems to be checked in prores_encode_init
if FF_PROFILE_UNKNOWN
use pix fmt YUV422P10 or YUV444P10 to select the profile
(can pix_fmt be another value here ?), if yes, will add an else part here
if avtc->profile < 0 or > 4, return an error.
Martin
More information about the ffmpeg-devel
mailing list