[FFmpeg-devel] [PATCH 2/6] avformat/mxfdec: Fix av_log context

Michael Niedermayer michael at niedermayer.cc
Thu Jul 5 15:00:18 EEST 2018


On Tue, Jul 03, 2018 at 11:12:21PM +0200, Tomas Härdin wrote:
> tis 2018-07-03 klockan 23:05 +0200 skrev Michael Niedermayer:
> > Fixes: out of array access
> > Fixes: mxf-crash-1c2e59bf07a34675bfb3ada5e1ec22fa9f38f923
> > 
> > > Found-by: Paul Ch <paulcher at icloud.com>
> > > Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> > ---
> >  libavformat/mxfdec.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c
> > index 8c417aea26..7c6d7c07c9 100644
> > --- a/libavformat/mxfdec.c
> > +++ b/libavformat/mxfdec.c
> > @@ -2146,7 +2146,7 @@ static int mxf_parse_structural_metadata(MXFContext *mxf)
> >                  MXFEssenceContainerData *essence_data;
> >  
> >                  if (!(essence_data = mxf_resolve_strong_ref(mxf, &mxf->essence_container_data_refs[k], EssenceContainerData))) {
> > -                    av_log(mxf, AV_LOG_TRACE, "could not resolve essence container data strong ref\n");
> > +                    av_log(mxf->fc, AV_LOG_TRACE, "could not resolve essence container data strong ref\n");
> 
> Good catch

will apply

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

There will always be a question for which you do not know the correct answer.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180705/d8e2d944/attachment.sig>


More information about the ffmpeg-devel mailing list