21:23
avformat/movenc: Check av_malloc() Fixes Coverity issue #1596735. Reviewed-by: Michael Niedermayer <michaelⓐniedermayer.cc> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardtⓐoutlook.com> [DH] libavformat/movenc.c
21:28
avformat/movenc: Avoid loop for writing array Signed-off-by: Andreas Rheinhardt <andreas.rheinhardtⓐoutlook.com> [DH] libavformat/movenc.c
22:10
avcodec/av1dec: Change bit_depth to int Suggested-by: James Almer <jamrialⓐgmail.com> Signed-off-by: Michael Niedermayer <michaelⓐniedermayer.cc> [DH] libavcodec/av1dec.c
07:53
avcodec/av1dec: Always set ret before goto end Before 0f8763fbea4e8816cd54c2a481d4c048fec58394, av1_frame_ref() and update_reference_list() could fail and therefore needed to be checked, which incidentally set ret. This is no longer happening, leading to a potential use of an uninitialized value which is also the subject of Coverity ticket #1596605. Fix this by always setting ret before goto end; do not return some random ancient value. Reviewed-by: James Almer <jamrialⓐgmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardtⓐoutlook.com> [DH] (...)