wmapro: prevent division by zero when sample rate is unspecified
authorSean McGovern <gseanmcg@gmail.com>
Thu, 2 Aug 2012 19:37:28 +0000 (15:37 -0400)
committerReinhard Tartler <siretart@tauware.de>
Fri, 4 Jan 2013 06:43:38 +0000 (07:43 +0100)
commitdd14723602f278966bdc1b5a39c34fcc8b9afa0e
tree04e70b5e98f6ad808d9e6e1a8a8ac0fd1f107cc2
parent9474c93028444f0524e8a09a115fbdc3a3756cd0
wmapro: prevent division by zero when sample rate is unspecified

This fixes Bugzilla #327:

Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
(cherry picked from commit 3680b2435101a5de56821718a71c828320d535a0)

Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavcodec/wmaprodec.c