diff options
author | Emil Velikov <[email protected]> | 2013-08-17 22:24:26 +0100 |
---|---|---|
committer | Christian König <[email protected]> | 2013-08-19 18:32:08 +0200 |
commit | 1d260360d8588aa7678660db5ad660c724f529ec (patch) | |
tree | 72568cc747fb54a1b039e9f45ead82026640c04e /src/gallium/auxiliary | |
parent | 5354d2e76a929a2bb898005ef4a19a68580bd922 (diff) |
vl/idct: cleanup all idct buffers
Code should loop through and cleanup the three (VL_NUM_COMPONENTS) idct
buffers, rather than doing the first one three times.
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r-- | src/gallium/auxiliary/vl/vl_mpeg12_decoder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/vl/vl_mpeg12_decoder.c b/src/gallium/auxiliary/vl/vl_mpeg12_decoder.c index 5782f620e61..f838e74210d 100644 --- a/src/gallium/auxiliary/vl/vl_mpeg12_decoder.c +++ b/src/gallium/auxiliary/vl/vl_mpeg12_decoder.c @@ -198,7 +198,7 @@ cleanup_idct_buffer(struct vl_mpeg12_buffer *buf) assert(buf); for (i = 0; i < 3; ++i) - vl_idct_cleanup_buffer(&buf->idct[0]); + vl_idct_cleanup_buffer(&buf->idct[i]); } static bool |