Revert "Removed check for MPEG version and layer"

Also added check for mpeg layer 2.

This reverts commit 5e4c916ccff7f87916b4d247540639ab0328abbc.