[FFmpeg-devel] [PATCH 2/5] avformat/mxfdec: reindent code

Lance Wang lance.lmwang at gmail.com
Mon May 4 13:58:49 EEST 2020


On Mon, May 4, 2020 at 4:13 PM Tomas Härdin <tjoppen at acc.umu.se> wrote:

> tor 2020-04-30 klockan 20:59 +0800 skrev lance.lmwang at gmail.com:
> > From: Limin Wang <lance.lmwang at gmail.com>
> >
> > Signed-off-by: Limin Wang <lance.lmwang at gmail.com>
> > ---
> >  libavformat/mxfdec.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c
> > index fdd0dd2a88..02a2a6d97a 100644
> > --- a/libavformat/mxfdec.c
> > +++ b/libavformat/mxfdec.c
> > @@ -363,7 +363,7 @@ static void mxf_free_metadataset(MXFMetadataSet
> > **ctx, int freectx)
> >          break;
> >      }
> >      if (freectx)
> > -    av_freep(ctx);
> > +        av_freep(ctx);
> >  }
>
> Might as well att some {} braces too
>
>
Sorry, I haven't understand your comments, are you want  to change like
below?
 if (freectx) {
      av_freep(cox);
 }


/Tomas
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-devel mailing list