From 9a50fdf467fdd56bb97efc3bc0931a9e52b990a7 Mon Sep 17 00:00:00 2001 From: Andreas Huber Date: Fri, 6 Nov 2009 08:40:09 -0800 Subject: [PATCH] Handle OMX_StateInvalid in emergency shutdown properly (by ignoring it and hoping for the best) instead of asserting. --- media/libstagefright/omx/OMXNodeInstance.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/media/libstagefright/omx/OMXNodeInstance.cpp b/media/libstagefright/omx/OMXNodeInstance.cpp index ab8be532d95ff..821891862c4b2 100644 --- a/media/libstagefright/omx/OMXNodeInstance.cpp +++ b/media/libstagefright/omx/OMXNodeInstance.cpp @@ -149,6 +149,7 @@ status_t OMXNodeInstance::freeNode() { } case OMX_StateLoaded: + case OMX_StateInvalid: break; default: