4xm: check that bits per sample is strictly positive
authorAnton Khirnov <anton@khirnov.net>
Sat, 24 Aug 2013 19:30:46 +0000 (21:30 +0200)
committerAnton Khirnov <anton@khirnov.net>
Mon, 2 Sep 2013 17:28:47 +0000 (19:28 +0200)
commita7c1689dedd11689edb30088d467ac03f9b8d1cf
treededcc0e5a02b78fae2ded9b168eddd316ec97739
parentdf33a58e5311ee9a64a573889b883a80e981af7b
4xm: check that bits per sample is strictly positive

Avoids a divide by zero.

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
libavformat/4xm.c