diff options
author | vivek mehta <mvivek@codeaurora.org> | 2013-02-12 16:41:00 -0800 |
---|---|---|
committer | Steve Kondik <shade@chemlab.org> | 2013-02-19 11:15:13 -0800 |
commit | 1bf291a765608ea51db743389e01e98d9a5a8bf8 (patch) | |
tree | c29cd5d18f8acf2c1d351060d62c5822ee50ab7a /include | |
parent | 390e2b19c3bdbacfdf59afdbad1a6818c5f1ed0c (diff) | |
download | frameworks_av-1bf291a765608ea51db743389e01e98d9a5a8bf8.zip frameworks_av-1bf291a765608ea51db743389e01e98d9a5a8bf8.tar.gz frameworks_av-1bf291a765608ea51db743389e01e98d9a5a8bf8.tar.bz2 |
libstagefright: Check for duration > 0 to avoid DivideByZero crash
- duration = 0 can cause divide by zero and for this clip duration
is indiacted as 0.
- check for duration > 0 rather than duration >= 0
Change-Id: I58ccacbf7ede892dff9626715162ea7b1f2ddbc6
CRs-Fixed: 451855
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions