1
0
mirror of https://github.com/DigitalDevices/octonet.git synced 2023-10-10 11:36:52 +00:00

correctly handle pid change in comformity mode

This commit is contained in:
Ralph Metzler 2015-10-03 13:06:52 +02:00
parent ae09795607
commit dab77defed

View File

@ -1391,11 +1391,9 @@ static int setup_session(struct oscon *con, int newtrans)
if (!str) if (!str)
return -500; return -500;
if (conform) { if (conform && (str->session != sess) && merge_pids(sp, p))
if (str->session != sess && merge_pids(sp, p) < 0)
return -455; return -455;
} else merge_pids(sp, p);
merge_pids(sp, p);
if (str->session == sess) { /* stream owner */ if (str->session == sess) { /* stream owner */
merge_params(sp, p); merge_params(sp, p);