Check srd_decoder_get_by_id() output.

This fixes bug 370. Thanks to Sander Alberink for the bug report
and patch.
1 file changed