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

Ronald S. Bultje rsbultje at gmail.com
Sun Oct 23 05:07:21 EEST 2016


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?

This suggests that the frame decoding completion callback I advocated
earlier might have to be a broader thing that also exists for non-frame-mt
cases?

Ronald


More information about the ffmpeg-devel mailing list