]> git.sesse.net Git - ffmpeg/commit
avcodec/libdav1d: use av_image_get_buffer_size() to calculate frame size
authorJames Almer <jamrial@gmail.com>
Fri, 17 Jul 2020 00:49:04 +0000 (21:49 -0300)
committerJames Almer <jamrial@gmail.com>
Wed, 22 Jul 2020 14:42:54 +0000 (11:42 -0300)
commit5eb4405fc5da27583ee748268fc4e49a8c0c5b54
treea9e3b167db208c4c4e4216a623c61bd7740dc0b2
parentc40d36076ae695021505e8ca1a59a9be4009997c
avcodec/libdav1d: use av_image_get_buffer_size() to calculate frame size

Calling av_image_fill_arrays() with NULL as src argument may result in UB.

Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/libdav1d.c