On 03/05/2014 04:43 AM, Luca Barbato wrote:
> diff --git a/libavfilter/af_volume.c b/libavfilter/af_volume.c
> index 12d496e..2cdfe23 100644
> --- a/libavfilter/af_volume.c
> +++ b/libavfilter/af_volume.c
> @@ -262,6 +262,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame 
> *buf)
>                  vol->scale_samples(out_buf->extended_data[p],
>                                     buf->extended_data[p], plane_samples,
>                                     vol->volume_i);
> +                emms_c();
>              }
>          } else if (av_get_packed_sample_fmt(vol->sample_fmt) == 
> AV_SAMPLE_FMT_FLT) {
>              for (p = 0; p < vol->planes; p++) {

Neither of the dsp functions used in af_volume utilize MMX registers.
Adding emms_c() is completely pointless.

-Justin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to