diff options
author | Martin Storsjö <martin@martin.st> | 2013-03-02 13:54:50 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2013-03-02 21:23:52 +0200 |
commit | 8fbab7a6c84fd75de4f752b412cea8032604f75b (patch) | |
tree | 53de06f3b6a19c00068cf52e1ef9e40bc0823af8 /libavformat/rtpdec.c | |
parent | 437211ae73ef1ed8285b4fed7620502ea4999e11 (diff) | |
download | ffmpeg-8fbab7a6c84fd75de4f752b412cea8032604f75b.tar.gz |
rtpdec: Initialize some variables to silence compiler warnings
The warnings are false positives, older gcc versions (such as 4.5)
think the variables can be used uninitialized while they in
practice can't, while newer (4.6) gets it right.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/rtpdec.c')
-rw-r--r-- | libavformat/rtpdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtpdec.c b/libavformat/rtpdec.c index 145d7c82e9..f734b91cbe 100644 --- a/libavformat/rtpdec.c +++ b/libavformat/rtpdec.c @@ -424,7 +424,7 @@ int ff_rtp_send_rtcp_feedback(RTPDemuxContext *s, URLContext *fd, AVIOContext *pb; uint8_t *buf; int64_t now; - uint16_t first_missing, missing_mask; + uint16_t first_missing = 0, missing_mask = 0; if (!fd && !avio) return -1; |