OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e0f746
)
avoid possibly uninitialized return value
author
Ivo van Poorten
<ivop@euronet.nl>
Thu, 23 Apr 2009 18:44:03 +0000
(18:44 +0000)
committer
Ivo van Poorten
<ivop@euronet.nl>
Thu, 23 Apr 2009 18:44:03 +0000
(18:44 +0000)
(found by clang static analyzer)
Originally committed as revision 18669 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/pva.c
patch
|
blob
|
history
diff --git
a/libavformat/pva.c
b/libavformat/pva.c
index
32827d4
..
cafac18
100644
(file)
--- 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);