tvheadend/tvheadend — pull request #413 by wooyay (2014-06-02 10:08:51+00:00)
Title: RTSP: only skip leading zeros if the next character is also zero

If com.ses.streamID is zero then the SETUP decode fails as it attempts to skip all leading zeros which results in the entire stream ID being skipped resulting in a failure. Instead only skip leading zeros if the next character is also a zero.