diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2018-05-15 17:06:59 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-07-10 01:52:56 +0200 |
commit | 674929cd46c76285f4d739c0436a75a5402dee61 (patch) | |
tree | 052128e653078ee236445f55fe3b61cf286281dc /libavcodec/amrwbdata.h | |
parent | f98794c73a7f90da43e06126e60a7bbda530fba7 (diff) | |
download | ffmpeg-674929cd46c76285f4d739c0436a75a5402dee61.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>
(cherry picked from commit 56e76bd0579cc7f7b28860885d9e569a39daf41b)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/amrwbdata.h')
0 files changed, 0 insertions, 0 deletions