On Mon, May 4, 2020 at 4:13 PM Tomas Härdin <[email protected]> wrote:
> tor 2020-04-30 klockan 20:59 +0800 skrev [email protected]: > > From: Limin Wang <[email protected]> > > > > Signed-off-by: Limin Wang <[email protected]> > > --- > > 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 > [email protected] > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > [email protected] with subject "unsubscribe". _______________________________________________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
