bugfix: test for m_codec==NULL
Merge pull request #3 from catalinii/Gotham-Odroid-Exynos

bugfix: test for m_codec==NULL