avcodec/utvideodec: Fix bytes left check in decode_frame()
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 2 Feb 2018 20:44:57 +0000 (21:44 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 11 Feb 2018 18:41:43 +0000 (19:41 +0100)
commit342f1da13489de6650349fff2206a81442d6c668
treefd8539d09956e05c608bb16e3b988d550481a7f1
parent5e67a2e13a942a2a84718f354f8f092149fe12bd
avcodec/utvideodec: Fix bytes left check in decode_frame()

Fixes: out of array read
Fixes: poc-2017.avi

Found-by: GwanYeong Kim <gy741.kim@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 118e1b0b3370dd1c0da442901b486689efd1654b)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/utvideodec.c