summaryrefslogtreecommitdiff
path: root/libavcodec/ffv1dec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-04-27 16:04:25 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-04-27 16:17:29 +0200
commit1a392fc550fde58948bd7b188c7a98d534aefadb (patch)
tree133efbca44f82ab67985c043cf04fa4a59890907 /libavcodec/ffv1dec.c
parentcc5c15595930e473d851b211e4daa4ca3b68e458 (diff)
ffv1: Store a flag in the global header that indicates if all frames are keyframes
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/ffv1dec.c')
-rw-r--r--libavcodec/ffv1dec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/ffv1dec.c b/libavcodec/ffv1dec.c
index 6082507ec6..c4e8f9b406 100644
--- a/libavcodec/ffv1dec.c
+++ b/libavcodec/ffv1dec.c
@@ -498,6 +498,8 @@ static int read_extra_header(FFV1Context *f)
if (f->version > 2) {
f->ec = get_symbol(c, state, 0);
+ if (f->minor_version > 2)
+ f->intra = get_symbol(c, state, 0);
}
if (f->version > 2) {