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

Tomas Härdin tjoppen at acc.umu.se
Mon May 4 15:02:49 EEST 2020


mån 2020-05-04 klockan 18:58 +0800 skrev Lance Wang:
> 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);
>  }
> 

yes



More information about the ffmpeg-devel mailing list