diff ffv1.c @ 2220:21947e176d4d libavcodec

get/set_sr_golomb() cleanup
author michael
date Fri, 10 Sep 2004 19:40:55 +0000
parents cff6c9b8ae57
children 37516ec97cd6
line wrap: on
line diff
--- a/ffv1.c	Fri Sep 10 18:54:02 2004 +0000
+++ b/ffv1.c	Fri Sep 10 19:40:55 2004 +0000
@@ -325,7 +325,7 @@
 #endif
     
 //printf("v:%d/%d bias:%d error:%d drift:%d count:%d k:%d\n", v, code, state->bias, state->error_sum, state->drift, state->count, k);
-    set_sr_golomb_ffv1(pb, code, k, 12, bits);
+    set_sr_golomb(pb, code, k, 12, bits);
 
     update_vlc_state(state, v);
 }
@@ -342,7 +342,7 @@
 
     assert(k<=8);
 
-    v= get_sr_golomb_ffv1(gb, k, 12, bits);
+    v= get_sr_golomb(gb, k, 12, bits);
 //printf("v:%d bias:%d error:%d drift:%d count:%d k:%d", v, state->bias, state->error_sum, state->drift, state->count, k);
 
 #if 0 // JPEG LS