When more than one media description is present, the parser does not return upon the occurrence of a new media description line, nor upon encountering an error.
The issue occurs because break is within a switch which is within for. The break affects the switch, not the for as intended.
When more than one media description is present, the parser does not return upon the occurrence of a new media description line, nor upon encountering an error.
The issue occurs because
break
is within aswitch
which is withinfor
. Thebreak
affects theswitch
, not thefor
as intended.