Mercurial > mplayer.hg
changeset 23555:2237e232cc15
Silence three warnings.
author | cehoyos |
---|---|
date | Mon, 18 Jun 2007 09:15:32 +0000 |
parents | 046d7b14d7f1 |
children | 1469b32bdd94 |
files | libmpdemux/demux_rtp.cpp |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_rtp.cpp Mon Jun 18 08:53:53 2007 +0000 +++ b/libmpdemux/demux_rtp.cpp Mon Jun 18 09:15:32 2007 +0000 @@ -470,7 +470,7 @@ return NULL; } - demux_packet_t* dp; + demux_packet_t* dp = NULL; if (!mustGetNewData) { // Check whether we have a previously-saved buffer that we can use: dp = bufferQueue->getPendingBuffer(); @@ -491,7 +491,7 @@ extern AVCodecParserContext * h264parserctx; int consumed, poutbuf_size = 1; const uint8_t *poutbuf = NULL; - float lastpts; + float lastpts = 0.0; do { if (!bufferQueue->nextpacket) { @@ -580,8 +580,8 @@ ReadBufferQueue::ReadBufferQueue(MediaSubsession* subsession, demuxer_t* demuxer, char const* tag) : prevPacketWasSynchronized(False), prevPacketPTS(0.0), otherQueue(NULL), - nextpacket(NULL), - dp(NULL), pendingDPHead(NULL), pendingDPTail(NULL), + dp(NULL), nextpacket(NULL), + pendingDPHead(NULL), pendingDPTail(NULL), fReadSource(subsession == NULL ? NULL : subsession->readSource()), fRTPSource(subsession == NULL ? NULL : subsession->rtpSource()), fOurDemuxer(demuxer), fTag(strdup(tag)) {