]> git.alsa-project.org Git - tinycompress.git/commit
compress: fix arithmetic exception in compress_get_hpointer
authorXuemin Su <xuemin.su@intel.com>
Tue, 30 Oct 2012 05:09:00 +0000 (13:09 +0800)
committerVinod Koul <vinod.koul@intel.com>
Mon, 18 Feb 2013 14:14:08 +0000 (19:44 +0530)
commit09318702910e4503cff552a0fef1b13210342483
tree5b47f92c1a405996ccb566de5c9bf7fc3c37dbd8
parent00732dc0cfc76152289caef19e74fb52838e228e
compress: fix arithmetic exception in compress_get_hpointer

In compress_get_hpointer, check for invalid sample
rate to prevent devide-by-zero exceptions

Signed-off-by: Xuemin Su <xuemin.su@intel.com>
Signed-off-by: He Bo <bo.he@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
compress.c