mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 19:59:46 +00:00
avoid possibly uninitialized return value
(found by clang static analyzer) Originally committed as revision 18669 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
6e0f746d3e
commit
896873b564
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user