diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-06-09 22:41:24 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-07-28 02:33:57 +0200 |
commit | da13957525a7939599cf7f425c2feb00ea58888a (patch) | |
tree | bdff6c4e647eb725ced566ce8e6436d009ad68ff /libswscale/utils.c | |
parent | 27d50fb2d52bc1fb85d13b968f61a70ea8defc9e (diff) | |
download | ffmpeg-da13957525a7939599cf7f425c2feb00ea58888a.tar.gz |
sonic: set avctx->channels in sonic_decode_init
Otherwise it can be 0 in sonic_decode_frame, causing SIGFPE crashes.
Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
(cherry picked from commit 58995f647b5fa2e1efa33ae4f8b8a76a81ec99df)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswscale/utils.c')
0 files changed, 0 insertions, 0 deletions