[FFmpeg-cvslog] ffv1: remove clear_state(), it has become unused

Michael Niedermayer git at videolan.org
Wed Apr 25 18:23:55 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Apr 25 18:04:45 2012 +0200| [cab15f9db4ba6e390b25dd80d7305bb51b5583c4] | committer: Michael Niedermayer

ffv1: remove clear_state(), it has become unused

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cab15f9db4ba6e390b25dd80d7305bb51b5583c4
---

 libavcodec/ffv1.c |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/libavcodec/ffv1.c b/libavcodec/ffv1.c
index 4df005f..6d03668 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){



More information about the ffmpeg-cvslog mailing list