[FFmpeg-devel] [PATCH] avformat/movenc: Write version 2 of audio atom if channels is not known

Michael Niedermayer michael at niedermayer.cc
Tue Jul 10 00:11:11 EEST 2018


On Sun, Jul 08, 2018 at 12:54:25AM +0200, Michael Niedermayer wrote:
> 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 at e.ntu.edu.sg>
> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> ---
>  libavformat/movenc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

will apply


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Take away the freedom of one citizen and you will be jailed, take away
the freedom of all citizens and you will be congratulated by your peers
in Parliament.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180709/a81acfee/attachment.sig>


More information about the ffmpeg-devel mailing list