]> git.sesse.net Git - vlc/commit
avcodec: avoid division by zero
authorTristan Matthews <le.businessman@gmail.com>
Fri, 3 May 2013 12:28:48 +0000 (08:28 -0400)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 3 May 2013 12:50:11 +0000 (14:50 +0200)
commit3fd6a5697013d415e1ec0fe228c26d60205fa657
tree1f0f77ad53162740be41d59dd84f63e2881ec396
parent2f4528c07fd8c0e9d79b6a922c317e932e8c6a5a
avcodec: avoid division by zero

Setting align to 0 to get default behaviour only works as of
libavutil 51.27.2 (libav) and 51.46.100 (ffmpeg)
See libav commit 0109a09dc3850eb5dbff84a7bb50eb252a5a8f22
Fixes #8508.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/codec/avcodec/encoder.c