Stagefright: add a NULL check before accessing camera params

Camera may return NULL params if the remote object is dead.
Check for NULL and report error rather than crash.

Change-Id: Id1fcd04dc187aadf00ca4ec5e48fb495c3369c92
CRs-Fixed: 906099
1 file changed