[FFmpeg-devel] [PATCH v1] avcodec/libx265: Fix Uninitialized scalar variable

lance.lmwang at gmail.com lance.lmwang at gmail.com
Tue Jan 14 03:21:24 EET 2020


On Mon, Jan 13, 2020 at 04:19:10PM +0000, Derek Buitenhuis wrote:
> On 09/01/2020 10:52, lance.lmwang at gmail.com wrote:
> > +    default:
> > +        pict_type = AV_PICTURE_TYPE_NONE;
> 
> Is this ever possible to actually hit in the API, though?
> 
> Maybe more useful to return an error in such a case, since something
> is really wrong probably?

It's OK to return an error from my side, I'm use the same way like libx264,
if prefer to such way, it's better to change libx264 to return error also.


> 
> - Derek
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".

-- 
Thanks,
Limin Wang


More information about the ffmpeg-devel mailing list