[Live-devel] Several typos

maks maksqwe1 at ukr.net
Wed Dec 4 06:25:16 PST 2013


liveMedia\RTSPClient.cpp 916

while (line[paramIndex] != '\0' && (line[paramIndex] == ' ' || line[paramIndex] == '\t')) ++paramIndex;
if (&line[paramIndex] == '\0') return False;

I think should be:
if (line[paramIndex] == '\0') return False;

---------------------------------
liveMedia\MediaSession.cpp 484

if (strcmp(codecName, "MPA") == 0
   || strcmp(codecName, "MPA-ROBUST") == 0
   || strcmp(codecName, "X-MP3-DRAFT-00")) return 90000;

Forgot to add "== 0":
   || strcmp(codecName, "X-MP3-DRAFT-00") == 0) return 90000;


More information about the live-devel mailing list