diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2018-05-15 17:06:59 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-06-18 01:16:04 +0200 |
commit | ce7be9cdc5d53242e1b326f40289c2ceec63a2d1 (patch) | |
tree | 3a3927d5a3ae91ec6ee7572b81b89ec5d637e082 /libavcodec/synth_filter.c | |
parent | 26667dc5baaf922ce24933bb1509515b1eb05e9b (diff) | |
download | ffmpeg-ce7be9cdc5d53242e1b326f40289c2ceec63a2d1.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/synth_filter.c')
0 files changed, 0 insertions, 0 deletions