avcodec/shorten: Check residual size
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 6 May 2017 17:53:25 +0000 (19:53 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 6 May 2017 17:53:25 +0000 (19:53 +0200)
commitdf8575584dcacde187d92ee3142800373fd34882
tree6fe763bb6a9b23b1b78c3545e3b6ccd2437f71ac
parent1283c4244767bd19918f355c31d702a94ee0cc1b
avcodec/shorten: Check residual size

Fixes assertion failure

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/shorten.c