summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-04-25 18:04:45 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-04-25 18:05:40 +0200
commitcab15f9db4ba6e390b25dd80d7305bb51b5583c4 (patch)
tree6d089ce28ff510b447b3946575e618eacaabaf85
parent83bf9fb6eca8cb9afd2a507ea20bec7f2cb429d2 (diff)
ffv1: remove clear_state(), it has become unused
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/ffv1.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/libavcodec/ffv1.c b/libavcodec/ffv1.c
index 4df005f06c..6d036685b9 100644
--- a/libavcodec/ffv1.c
+++ b/libavcodec/ffv1.c
@@ -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){