commit | 8659bd107fbe6ff3a3b2bd7f07b655876a872d2d | [log] [tgz] |
---|---|---|
author | John Grossman <johngro@google.com> | Mon Aug 29 10:26:47 2011 -0700 |
committer | Mike Lockwood <lockwood@android.com> | Fri Oct 28 10:14:48 2011 -0400 |
tree | bc5039102e4049987c02ad76fa6dcbb8ed05f6d8 | |
parent | 7bce396226455ee22714c9e5967bae6cea7e4b23 [diff] |
Add a missing NULL check. The get_next_write_timestamp method introduced to the audio HAL is optional. HALs which do not implement it leave it set to NULL. Callers (there is currently only one in the AudioMixer code) need to be certain to check for NULL before invoking it. Change-Id: I88ba43bb53bec081c98c9a8842936c4fbfdd44f6