dlna: don't match if no profile/level identified
authorLeandro Dorileo <leandro.maciel.dorileo@intel.com>
Wed, 7 Jan 2015 18:20:04 +0000 (16:20 -0200)
committerLeandro Dorileo <leandro.maciel.dorileo@intel.com>
Wed, 7 Jan 2015 18:42:35 +0000 (16:42 -0200)
commit8a90741aa6ec13a40466777c7b8832343c2e0e46
treee15cfddec04f3301f4f9a62b35fedf30fc17e4c5
parente83a7ae5a7f22d1193077a7b3756ce0c70198433
dlna: don't match if no profile/level identified

Instead of providing an empty string for profile and level if we haven't
parsed one from codec identifier initialize it to NULL and only use
it to match the rules if we found the respective identifiers.
src/lib/lightmediascanner_dlna.c