diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2018-07-08 00:16:42 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-07-18 16:57:03 +0200 |
commit | 2c0e98a0b478284bdff6d7a4062522605a8beae5 (patch) | |
tree | 59340fdc0d159d23255cfc628097045c1c78ab34 /libavcodec/dcaenc.c | |
parent | a1d4de0559cc19bc349bc8a20e99673dc26cdfae (diff) | |
download | ffmpeg-2c0e98a0b478284bdff6d7a4062522605a8beae5.tar.gz |
avformat/movenc: Write version 2 of audio atom if channels is not known
The version 1 needs the channel count and would divide by 0
Fixes: division by 0
Fixes: fpe_movenc.c_1108_1.ogg
Fixes: fpe_movenc.c_1108_2.ogg
Fixes: fpe_movenc.c_1108_3.wav
Found-by: #CHEN HONGXU# <HCHEN017@e.ntu.edu.sg>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit fa19fbcf712a6a6cc5a5cfdc3254a97b9bce6582)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/dcaenc.c')
0 files changed, 0 insertions, 0 deletions