diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2018-07-08 00:16:42 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-07-17 11:46:33 +0200 |
commit | 2b8d4f6f0186b3ed0b223f665d32c36ed887149e (patch) | |
tree | 41626f80a7bf9a98870fbfecc9d1644088ef34ec /libavformat/mpsubdec.c | |
parent | a8c5c71a0489b2b391af6d356385e5718af97d8f (diff) | |
download | ffmpeg-2b8d4f6f0186b3ed0b223f665d32c36ed887149e.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 'libavformat/mpsubdec.c')
0 files changed, 0 insertions, 0 deletions