]> git.sesse.net Git - ffmpeg/commit
avcodec/magicyuv: Check early for invalid slices
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Wed, 23 Sep 2020 04:24:03 +0000 (06:24 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sat, 26 Sep 2020 18:38:30 +0000 (20:38 +0200)
commit3c172a2fb91a758d9e15f09f96879e6e9b5a37ec
tree214efee68273ecd901c5269da507231979774ff1
parent310d4062e7639217d717e447426343366775ac30
avcodec/magicyuv: Check early for invalid slices

Every plane of each slice has to contain at least two bytes for flags
and the type of prediction used.

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/magicyuv.c