rtspconnection: Properly exit infinite loop
In the unlikeliness the builder state is invalid, exit the top-level while(TRUE) loop.
This commit is contained in:
parent
d42294114f
commit
962df52fef
@ -2158,7 +2158,7 @@ build_next (GstRTSPBuilder * builder, GstRTSPMessage * message,
|
||||
}
|
||||
default:
|
||||
res = GST_RTSP_ERROR;
|
||||
break;
|
||||
goto done;
|
||||
}
|
||||
}
|
||||
done:
|
||||
|
Loading…
x
Reference in New Issue
Block a user