mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-08 07:38:30 +00:00
rtsp: Fix compiler warning for uninitialized variable
This one won't ever be used uninitialized in practice, but the compiler doesn't realize it. Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
89d26797f5
commit
4be386b318
@ -1103,7 +1103,7 @@ int ff_rtsp_make_setup_request(AVFormatContext *s, const char *host, int port,
|
|||||||
int lower_transport, const char *real_challenge)
|
int lower_transport, const char *real_challenge)
|
||||||
{
|
{
|
||||||
RTSPState *rt = s->priv_data;
|
RTSPState *rt = s->priv_data;
|
||||||
int rtx, j, i, err, interleave = 0;
|
int rtx = 0, j, i, err, interleave = 0;
|
||||||
RTSPStream *rtsp_st;
|
RTSPStream *rtsp_st;
|
||||||
RTSPMessageHeader reply1, *reply = &reply1;
|
RTSPMessageHeader reply1, *reply = &reply1;
|
||||||
char cmd[2048];
|
char cmd[2048];
|
||||||
|
Loading…
Reference in New Issue
Block a user