emotion: Check engine for NULL before dereferencing.
authorStefan Schmidt <s.schmidt@samsung.com>
Tue, 25 Jun 2013 13:36:38 +0000 (14:36 +0100)
committerStefan Schmidt <s.schmidt@samsung.com>
Tue, 25 Jun 2013 13:42:09 +0000 (14:42 +0100)
commit8deb75463bdb7f8aaa45bebdd3d1570655b66043
treeeb0876a1eb6f6321335d8e754480bdcc74534354
parentabf8a3b7bfaff7b68369ec7260dfbdb9701905ac
emotion: Check engine for NULL before dereferencing.

It might be that our engine list is empty and thus our engine might still
be set to NULL. Better check and return if this is the case instead of
dereferencing NULL.
src/modules/emotion/gstreamer/emotion_sink.c