aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean First <jeanfirst@gmail.com>2012-01-03 23:01:28 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2012-01-03 23:01:28 +0100
commitefaf4488882eb04d604af14d9231db621d308c7a (patch)
tree43184e0c1a1ff54384c09683d5f149b4f520ff7f
parent912e75169bcdf1599dc0991b99d7c717dd5c6769 (diff)
downloadffmpeg-efaf4488882eb04d604af14d9231db621d308c7a.tar.gz
rtsp: Fix compiler warning for uninitialized variable.
Reviewed-by: Martin Storsjö
-rw-r--r--libavformat/rtsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index 5d6db1bd52..d32f49ed4c 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -1103,7 +1103,7 @@ int ff_rtsp_make_setup_request(AVFormatContext *s, const char *host, int port,
int lower_transport, const char *real_challenge)
{
RTSPState *rt = s->priv_data;
- int rtx, j, i, err, interleave = 0;
+ int rtx = 0, j, i, err, interleave = 0;
RTSPStream *rtsp_st;
RTSPMessageHeader reply1, *reply = &reply1;
char cmd[2048];