aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean First <jeanfirst@gmail.com>2012-01-03 23:01:28 +0100
committerMartin Storsjö <martin@martin.st>2012-01-04 22:15:42 +0200
commit4be386b318e2c707f3f65df49244768afc47c3d9 (patch)
treeaf1dba1508816f6e16e3218f3c0a3ddb51377794
parent89d26797f56ec52dae14f9c47b445c9a39e8ce56 (diff)
downloadffmpeg-4be386b318e2c707f3f65df49244768afc47c3d9.tar.gz
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>
-rw-r--r--libavformat/rtsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index fcf168d426..2858a9a806 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];