[FFmpeg-devel] [PATCH 10/11] rtsp: fix compiler warning for uninitialized variables
Jean First
jeanfirst at gmail.com
Fri Dec 30 21:08:07 CET 2011
Signed-off-by: Jean First <jeanfirst at gmail.com>
---
libavformat/rtsp.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index 5d6db1b..d32f49e 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];
--
1.7.7.3
More information about the ffmpeg-devel
mailing list