Re: [FFmpeg-devel] [PATCH] interplayacm: validate number of channels

2016-10-30 Thread Andreas Cadhalpun
On 30.10.2016 22:15, Paul B Mahol wrote: > On 10/30/16, Andreas Cadhalpun wrote: >> The number of channels is used as divisor in decode_frame, so it must >> not be zero to avoid SIGFPE crashes. >> >> Signed-off-by: Andreas Cadhalpun >> --- >> libavcodec/interplayacm.c | 5 + >> 1 file change

Re: [FFmpeg-devel] [PATCH] interplayacm: validate number of channels

2016-10-30 Thread Paul B Mahol
On 10/30/16, Andreas Cadhalpun wrote: > The number of channels is used as divisor in decode_frame, so it must > not be zero to avoid SIGFPE crashes. > > Signed-off-by: Andreas Cadhalpun > --- > libavcodec/interplayacm.c | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/libavcodec/int

[FFmpeg-devel] [PATCH] interplayacm: validate number of channels

2016-10-30 Thread Andreas Cadhalpun
The number of channels is used as divisor in decode_frame, so it must not be zero to avoid SIGFPE crashes. Signed-off-by: Andreas Cadhalpun --- libavcodec/interplayacm.c | 5 + 1 file changed, 5 insertions(+) diff --git a/libavcodec/interplayacm.c b/libavcodec/interplayacm.c index f4a3446..