summaryrefslogtreecommitdiff
path: root/libavcodec/rv34.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-08-17 01:50:20 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-08-17 02:07:34 +0200
commit7f769ae41e0dca0f538ad6bdad5f9471fd5ee87f (patch)
treeb2628440f15a29eb489ff331e0d113e6a0f9394f /libavcodec/rv34.h
parentd3eb317b862c3f5653f0ae8dfcb22edf1713ab5b (diff)
avcodec/rv30: fix switching back to the original resolution
Fixes part of Ticket1388 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/rv34.h')
-rw-r--r--libavcodec/rv34.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/rv34.h b/libavcodec/rv34.h
index 870164c6e5..e2f40c8e5a 100644
--- a/libavcodec/rv34.h
+++ b/libavcodec/rv34.h
@@ -109,6 +109,8 @@ typedef struct RV34DecContext{
int weight1, weight2; ///< B frame distance fractions (0.14) used in motion compensation
int mv_weight1, mv_weight2;
+ int orig_width, orig_height;
+
uint16_t *cbp_luma; ///< CBP values for luma subblocks
uint8_t *cbp_chroma; ///< CBP values for chroma subblocks
uint16_t *deblock_coefs; ///< deblock coefficients for each macroblock