On 18 dec 2010, at 07:29, David Czech <davidczech510 at gmail.com> wrote: > Sorry, I sent the wrong dpaste, this time I'll attach to be sure. > This patch works for me, ffmpeg doesn't crash. > Thanks. At least for the first one a division by 0 now becomes possible, the if definitely must still catch the == 0 case.