avcodec/dvdsubdec: Fix buf_size check
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 26 Oct 2016 14:29:57 +0000 (16:29 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 26 Oct 2016 16:46:10 +0000 (18:46 +0200)
commit25ab1a65f3acb5ec67b53fb7a2463a7368f1ad16
treed268219c43290bfb7c48d40355109a32f7ac7618
parent20182e79f9c23798f9ee01bdfd6f670d3aa225a9
avcodec/dvdsubdec: Fix buf_size check

Fixes out of array access

Found-by: Thomas Garnier using libFuzzer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/dvdsubdec.c