From da0c8664b4dc906696803685f7e53ade68594ab8 Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Sun, 31 May 2015 15:49:52 +0200 Subject: mpegvideo: Move various temporary buffers to a separate context --- libavcodec/intrax8.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavcodec/intrax8.c') diff --git a/libavcodec/intrax8.c b/libavcodec/intrax8.c index 303b9263be..3cd84dc170 100644 --- a/libavcodec/intrax8.c +++ b/libavcodec/intrax8.c @@ -306,7 +306,7 @@ static int x8_setup_spatial_predictor(IntraX8Context * const w, const int chroma int sum; int quant; - w->dsp.setup_spatial_compensation(s->dest[chroma], s->edge_emu_buffer, + w->dsp.setup_spatial_compensation(s->dest[chroma], s->sc.edge_emu_buffer, s->current_picture.f->linesize[chroma>0], &range, &sum, w->edges); if(chroma){ @@ -642,7 +642,7 @@ static int x8_decode_intra_mb(IntraX8Context* const w, const int chroma){ if(w->flat_dc){ dsp_x8_put_solidcolor(w->predicted_dc, s->dest[chroma], s->current_picture.f->linesize[!!chroma]); }else{ - w->dsp.spatial_compensation[w->orient]( s->edge_emu_buffer, + w->dsp.spatial_compensation[w->orient]( s->sc.edge_emu_buffer, s->dest[chroma], s->current_picture.f->linesize[!!chroma] ); } -- cgit v1.2.3