[libav-devel] [PATCH 04/16] mxfdec: Sanity-check SampleRate

2012-01-26 Thread Tomas Härdin
This avoids a SIGFPE if SampleRate is missing or set to naughty values. --- libavformat/mxfdec.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index 9051874..aa7ebe6 100644 --- a/libavformat/mxfdec.c +++ b/libavformat/mxfdec.c

Re: [libav-devel] [PATCH 04/16] mxfdec: Sanity-check SampleRate

2012-01-26 Thread Diego Biurrun
On Thu, Jan 26, 2012 at 01:21:33PM +0100, Tomas Härdin wrote: This avoids a SIGFPE if SampleRate is missing or set to naughty values. --- a/libavformat/mxfdec.c +++ b/libavformat/mxfdec.c @@ -1405,6 +1405,7 @@ static int mxf_parse_structural_metadata(MXFContext *mxf)