# HG changeset patch # User ivo # Date 1240512243 0 # Node ID 0b5471a1f0618f085885184ce6c144af15c91043 # Parent 5914a1aa786902c665dbfcd908b2b49238d8694a avoid possibly uninitialized return value (found by clang static analyzer) diff -r 5914a1aa7869 -r 0b5471a1f061 pva.c --- a/pva.c Wed Apr 22 19:37:57 2009 +0000 +++ b/pva.c Thu Apr 23 18:44:03 2009 +0000 @@ -176,7 +176,7 @@ 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);