[FFmpeg-devel] [PATCH 07/13] avcodec/vp56: Clear mmx state after mb decode loop

Michael Niedermayer michael at niedermayer.cc
Sun Oct 23 05:22:27 EEST 2016


On Sat, Oct 22, 2016 at 10:07:21PM -0400, Ronald S. Bultje wrote:
> Hi,
> 
> On Sat, Oct 22, 2016 at 3:02 PM, Michael Niedermayer <michael at niedermayer.cc
> > wrote:
> 
> > Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> > ---
> >  libavcodec/vp56.c | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/libavcodec/vp56.c b/libavcodec/vp56.c
> > index 6319248..2125000 100644
> > --- a/libavcodec/vp56.c
> > +++ b/libavcodec/vp56.c
> > @@ -668,6 +668,7 @@ static int ff_vp56_decode_mbs(AVCodecContext *avctx,
> > void *data,
> >      }
> >
> >  next:
> > +    emms_c();
> 
> 
> Why?

theres SIMD code above and av_frame_(un)ref() below
the frame ref stuff uses memory allocation and freeing

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

In fact, the RIAA has been known to suggest that students drop out
of college or go to community college in order to be able to afford
settlements. -- The RIAA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20161023/4a2e5e4e/attachment.sig>


More information about the ffmpeg-devel mailing list