[FFmpeg-devel] [FFmpeg-cvslog] lavc/qsv_overlay: suppress code scan complain

Li, Zhong zhong.li at intel.com
Wed Nov 7 09:42:22 EET 2018


> From: ffmpeg-devel [mailto:ffmpeg-devel-bounces at ffmpeg.org] On Behalf
> Of Carl Eugen Hoyos
> Sent: Tuesday, November 6, 2018 9:04 PM
> To: ffmpeg-devel at ffmpeg.org
> Subject: Re: [FFmpeg-devel] [FFmpeg-cvslog] lavc/qsv_overlay: suppress
> code scan complain
> 
> 2018-11-06 10:51 GMT+01:00, Zhong Li <git at videolan.org>:
> > ffmpeg | branch: master | Zhong Li <zhong.li at intel.com> | Thu May 24
> > 16:34:32 2018 +0800| [d96ae9d5ea1f47a437fc0663b0cc26ff5d4d5d31] |
> committer:
> > Zhong Li
> >
> > lavc/qsv_overlay: suppress code scan complain
> >
> > Suppress the complain "variables 'pix_fmt' is used but maybe
> > uninitialized".
> 
> Was it possible that the variable is used uninitialized before your change?

If this happens, I believe this case is another issue which hasn't been handled well by upper layer function. 

> If it was impossible the change is wrong.

Do you have any detail suggestion to improve it? 

Thanks
Zhong


More information about the ffmpeg-devel mailing list