move the whole check into the assertion to avoid unused parameters
move the whole check into the assertion to avoid unused parameters

mltframework/swfdec,freedesktop-unofficial-mirror/swfdec__swfdec,freedesktop-unofficial-mirror/swfdec__swfdec,mltframework/swfdec,freedesktop-unofficial-mirror/swfdec__swfdec