diff options
author | Jean First <jeanfirst@gmail.com> | 2012-01-04 02:01:28 +0400 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2012-01-04 02:01:28 +0400 |
commit | efaf4488882eb04d604af14d9231db621d308c7a (patch) | |
tree | 43184e0c1a1ff54384c09683d5f149b4f520ff7f /libavformat | |
parent | 912e75169bcdf1599dc0991b99d7c717dd5c6769 (diff) |
rtsp: Fix compiler warning for uninitialized variable.
Reviewed-by: Martin Storsjö
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/rtsp.c | 2 |
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]; |