swresample/resample: do not allow negative dst_size return value
authorMuhammad Faiz <mfcc64@gmail.com>
Tue, 13 Dec 2016 07:11:48 +0000 (14:11 +0700)
committerMuhammad Faiz <mfcc64@gmail.com>
Tue, 13 Dec 2016 17:43:44 +0000 (00:43 +0700)
commit6a8c0d83572deabc4cd1920b6d71cc65a37acc57
tree7daae4b6915e2f66caba215562921a377f4eaf16
parentf0bdd538712d8ed34120ab2b7bd1409fcc99fb45
swresample/resample: do not allow negative dst_size return value

This should fix Ticket6012

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
libswresample/resample.c