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>
Mon, 19 Feb 2018 01:40:54 +0000 (02:40 +0100)
commitc17cc8ee4ffb2f1c876697df418f51e1f569512b
treecb8457618591bd5867d0d8acd6a79a80a190ebca
parent3cad8e730e06ab66bce5a160263452334c09dc68
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