ffv1: remove clear_state(), it has become unused
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 25 Apr 2012 16:04:45 +0000 (18:04 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 25 Apr 2012 16:05:40 +0000 (18:05 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/ffv1.c

index 4df005f..6d03668 100644 (file)
@@ -1155,15 +1155,6 @@ static void clear_slice_state(FFV1Context *f, FFV1Context *fs){
         }
 }
 
-static void clear_state(FFV1Context *f){
-    int si;
-
-    for(si=0; si<f->slice_count; si++){
-        FFV1Context *fs= f->slice_context[si];
-        clear_slice_state(f, fs);
-    }
-}
-
 #if CONFIG_FFV1_ENCODER
 
 static void encode_slice_header(FFV1Context *f, FFV1Context *fs){