Commit 6940243e authored by ivo's avatar ivo

avoid possibly uninitialized return value

(found by clang static analyzer)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18669 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f41a2264
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment