Fixed potential overread in the rawvideo decoder.
The plane size of the pictures given to a decoder can be a bit larger than
necessary. It can happens when the video size is incompatible with the
colorspace.
It closes #5770.
(cherry picked from commit 4a26ac7f892063dcc79ade092e490a6e4168f8f9)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Showing
Please register or sign in to comment