summaryrefslogtreecommitdiff
path: root/libavcodec/intrax8.h
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2016-02-19 20:18:49 -0500
committerVittorio Giovara <vittorio.giovara@gmail.com>2016-03-25 15:51:50 -0400
commit922b7e6d86e6197dfa5ebde602dd12cc66fb5f1f (patch)
tree9a42bca192f2761c0ae42bde1e33e1071f6a309b /libavcodec/intrax8.h
parenta7da517f6a5c472f46f67dd33bb6b95ccc919923 (diff)
intrax8: Use local destination buffers
These buffers are just a way to store frame pointers and be able to modify them without touching the original ones. The two dependent decoders (WMV2 and VC1) do not need special care for these fields: the former does not seem to use the dest buffers, while the latter reinits them every time to the current frame data buffers. So only keep a local copy rather than the one from mpegvideo.
Diffstat (limited to 'libavcodec/intrax8.h')
-rw-r--r--libavcodec/intrax8.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/intrax8.h b/libavcodec/intrax8.h
index f69f03e6ee..e2532f8696 100644
--- a/libavcodec/intrax8.h
+++ b/libavcodec/intrax8.h
@@ -45,6 +45,7 @@ typedef struct IntraX8Context {
int quant_dc_chroma;
int divide_quant_dc_luma;
int divide_quant_dc_chroma;
+ uint8_t *dest[3];
// changed per block
int edges;