[FFmpeg-cvslog] r18669 - trunk/libavformat/pva.c
ivo
subversion
Thu Apr 23 20:44:04 CEST 2009
Author: ivo
Date: Thu Apr 23 20:44:03 2009
New Revision: 18669
Log:
avoid possibly uninitialized return value
(found by clang static analyzer)
Modified:
trunk/libavformat/pva.c
Modified: trunk/libavformat/pva.c
==============================================================================
--- trunk/libavformat/pva.c Thu Apr 23 20:21:16 2009 (r18668)
+++ trunk/libavformat/pva.c Thu Apr 23 20:44:03 2009 (r18669)
@@ -176,7 +176,7 @@ static int64_t pva_read_timestamp(struct
ByteIOContext *pb = s->pb;
PVAContext *pvactx = s->priv_data;
int length, streamid;
- int64_t res;
+ int64_t res = AV_NOPTS_VALUE;
pos_limit = FFMIN(*pos+PVA_MAX_PAYLOAD_LENGTH*8, (uint64_t)*pos+pos_limit);
More information about the ffmpeg-cvslog
mailing list