[FFmpeg-cvslog] rtsp: Fix compiler warning for uninitialized variable.
Jean First
git at videolan.org
Tue Jan 3 23:03:13 CET 2012
ffmpeg | branch: master | Jean First <jeanfirst at gmail.com> | Tue Jan 3 23:01:28 2012 +0100| [efaf4488882eb04d604af14d9231db621d308c7a] | committer: Carl Eugen Hoyos
rtsp: Fix compiler warning for uninitialized variable.
Reviewed-by: Martin Storsjö
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=efaf4488882eb04d604af14d9231db621d308c7a
---
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];
More information about the ffmpeg-cvslog
mailing list