avcodec/scpr: check if total_freq is 0 in decode0
authorPaul B Mahol <onemda@gmail.com>
Mon, 27 Feb 2017 12:50:08 +0000 (13:50 +0100)
committerPaul B Mahol <onemda@gmail.com>
Mon, 27 Feb 2017 12:55:15 +0000 (13:55 +0100)
commit86ab6b6e08e2982fb5785e0691c0a7e289339ffb
tree29db761b0407a1dd0f02914dd2df5cda6d7d7f0e
parent33de0fee2c33c492aae96f643ed7bbaa393043dc
avcodec/scpr: check if total_freq is 0 in decode0

Fixes SIGFPE, closes #6196.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavcodec/scpr.c