avcodec/opus_parser: Check payload_len in parse_opus_ts_header()
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 5 Jan 2018 21:12:07 +0000 (22:12 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 31 Jan 2018 21:56:15 +0000 (22:56 +0100)
commitc860d5326f566acf039400a1e80004cb3d5d6685
tree47213213f62f27d9e4b6473e1075660249ac4495
parenta15c056f5ca963883ecb22969a8cd3e640c53f7c
avcodec/opus_parser: Check payload_len in parse_opus_ts_header()

Fixes: clusterfuzz-testcase-minimized-6134545979277312
Fixes: crbug 797469

Reported-by: Matt Wolenetz <wolenetz@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 1bcd7fefcb3c1ec47978fdc64a9e8dfb9512ae62)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/opus_parser.c