avcodec/videodsp_template: Fix overflow of addition
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 14 Jun 2019 22:47:06 +0000 (00:47 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 26 Jun 2019 19:40:19 +0000 (21:40 +0200)
commit247a1de7f7d9c5628cf188e677d10ce9e12bd2f2
treec58747a0367c0bbb318c7120e42cb568b109366f
parentf30be1ec9856551d96f3876eec5f8b8abf456b81
avcodec/videodsp_template: Fix overflow of addition

Fixes: addition of unsigned offset to 0x7f56fc26a9b6 overflowed to 0x7f56fc26a8be*
Fixes: clusterfuzz-testcase-minimized-mediasource_MP4_AVC1_pipeline_integration_fuzzer-4917949056679936

Reported-by: Matt Wolenetz <wolenetz@google.com>
Reviewed-by: Matt Wolenetz <wolenetz@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/videodsp_template.c