diff options
author | Ivo van Poorten <ivop@euronet.nl> | 2009-04-23 22:44:03 +0400 |
---|---|---|
committer | Ivo van Poorten <ivop@euronet.nl> | 2009-04-23 22:44:03 +0400 |
commit | 896873b5648c1c6d379c35832e99d966fa56f87f (patch) | |
tree | 824f64641e6a4d9fd8f75b6c068e030b5a2c8683 | |
parent | 6e0f746d3eac0b07b9f5e4216d45ad70ca17fe62 (diff) |
avoid possibly uninitialized return value
(found by clang static analyzer)
Originally committed as revision 18669 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/pva.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/pva.c b/libavformat/pva.c index 32827d43e8..cafac18891 100644 --- a/libavformat/pva.c +++ b/libavformat/pva.c @@ -176,7 +176,7 @@ static int64_t pva_read_timestamp(struct AVFormatContext *s, int stream_index, 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); |