aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-05-23 12:04:10 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-05-23 12:04:10 +0200
commite15f1286e6bef566f44b51f8cdc99c02025de2d8 (patch)
treecd154d5221324391f770e0cd1027b17e1b675d35
parent60c950ac0859f93956eeab597b7cff95600fae6a (diff)
downloadffmpeg-e15f1286e6bef566f44b51f8cdc99c02025de2d8.tar.gz
ffv1: fix decoder state_transition table
This fixes a regression with ffv1.1 coder=1 decoding Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/ffv1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ffv1.c b/libavcodec/ffv1.c
index 32eab51441..901e79e669 100644
--- a/libavcodec/ffv1.c
+++ b/libavcodec/ffv1.c
@@ -723,7 +723,7 @@ static int init_slice_state(FFV1Context *f, FFV1Context *fs){
if (fs->ac>1){
//FIXME only redo if state_transition changed
for(j=1; j<256; j++){
- fs->c.one_state [ j]= fs->state_transition[j];
+ fs->c.one_state [ j]= f->state_transition[j];
fs->c.zero_state[256-j]= 256-fs->c.one_state [j];
}
}