aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ivi_common.h
diff options
context:
space:
mode:
authorDirk Ausserhaus <dausserhaus@gmail.com>2014-05-29 13:30:37 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-05-30 13:49:42 +0200
commit8bfb4d72dd9324fda14bb49dda3468ccba5873e2 (patch)
tree3e28e92deb34a715eda4f0e98eaeff0f03c38412 /libavcodec/ivi_common.h
parentd24673a2c80418c3c14dad523619f44f3ca8cb58 (diff)
downloadffmpeg-8bfb4d72dd9324fda14bb49dda3468ccba5873e2.tar.gz
avcodec/indeo4: Decode both parts of IP frames
Fixes part of Ticket845 av_frame_move_ref() idea by Anton Khirnov Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/ivi_common.h')
-rw-r--r--libavcodec/ivi_common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/ivi_common.h b/libavcodec/ivi_common.h
index 76d1b61c6a..b0bdfe5337 100644
--- a/libavcodec/ivi_common.h
+++ b/libavcodec/ivi_common.h
@@ -262,6 +262,9 @@ typedef struct IVI45DecContext {
int gop_invalid;
int buf_invalid[3];
+
+ AVFrame *p_frame;
+ int got_p_frame;
} IVI45DecContext;
/** compare some properties of two pictures */