Re: [libav-devel] [PATCH] Avoid divide by zero in compute_avg_bitrate()

2011-05-12 Thread Tomas Härdin
Ronald S. Bultje skrev 2011-05-12 16:36: Hi, On Wed, May 11, 2011 at 8:25 AM, Tomas Härdin wrote: The attached patch fixes a possibility for movenc.c to SIGFPE if trackDuration is zero when writing esds. This can happen if the user manages to mux a single AAC packet with dts = 0 and duration =

Re: [libav-devel] [PATCH] Avoid divide by zero in compute_avg_bitrate()

2011-05-12 Thread Ronald S. Bultje
Hi, On Wed, May 11, 2011 at 8:25 AM, Tomas Härdin wrote: > The attached patch fixes a possibility for movenc.c to SIGFPE if > trackDuration is zero when writing esds. This can happen if the user manages > to mux a single AAC packet with dts = 0 and duration = 0. This patch does not apply to my l

[libav-devel] [PATCH] Avoid divide by zero in compute_avg_bitrate()

2011-05-11 Thread Tomas Härdin
Hi The attached patch fixes a possibility for movenc.c to SIGFPE if trackDuration is zero when writing esds. This can happen if the user manages to mux a single AAC packet with dts = 0 and duration = 0. /Tomas >From 7dbf9ac26ca677fc664a4569601bb0204e8410be Mon Sep 17 00:00:00 2001 From: =?UTF