diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2018-05-15 17:06:59 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-05-21 01:38:56 +0200 |
commit | 56e76bd0579cc7f7b28860885d9e569a39daf41b (patch) | |
tree | 6adfb4af0dd09aed588683805e4e926d65416b22 /libavcodec/h2645_parse.h | |
parent | fac5849915973ac09286d2c027237bfd99cc27fe (diff) | |
download | ffmpeg-56e76bd0579cc7f7b28860885d9e569a39daf41b.tar.gz |
avformat/mov: Break out early if chunk_count is 0 in mov_build_index()
Without this some operations might overflow (undefined behavior)
even though the index adding loop would never execute
No testcase known
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/h2645_parse.h')
0 files changed, 0 insertions, 0 deletions