On 2011-12-21 15:00:22 +0100, Luca Barbato wrote:
> On 20/12/11 17:44, Janne Grunau wrote:
> >From: Tomas Härdin<[email protected]>
> >
> >This fixes SIGSEGV on sliceless (single stream) VBR files
> >---
> >  libavformat/mxfdec.c |    1 +
> >  1 files changed, 1 insertions(+), 0 deletions(-)
> >
> >diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c
> >index 3c9115d..1c5016b 100644
> >--- a/libavformat/mxfdec.c
> >+++ b/libavformat/mxfdec.c
> >@@ -1738,6 +1738,7 @@ static int mxf_read_close(AVFormatContext *s)
> >              break;
> >          case IndexTableSegment:
> >              seg = (MXFIndexTableSegment *)mxf->metadata_sets[i];
> >+            if (seg->slice_count)
> 
> Indent please ^^;

done and folded into into the commit which added the av_Free without
check.

Janne
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to