Fixes a NullPointerException reported by Bauersachs Ingo in the dev mailing list thread "Exception creating media description when all video codecs disabled".