Checking pointer before dereferencing

Decoder has default constructor that makes empty m_stream, but ~decoder dereferences it. So ~decoder must first check it!