Mercurial > libavcodec.hg
comparison rv10.c @ 9990:e909e1f7b3f1 libavcodec
Remove disabled function get_num().
It is small and has been disabled and unused for more than four years.
author | diego |
---|---|
date | Mon, 27 Jul 2009 16:10:38 +0000 |
parents | 99c39bb5c525 |
children | 7b2e5c91104e |
comparison
equal
deleted
inserted
replaced
9989:2cc65fb72572 | 9990:e909e1f7b3f1 |
---|---|
287 s->y_dc_scale_table= | 287 s->y_dc_scale_table= |
288 s->c_dc_scale_table= ff_mpeg1_dc_scale_table; | 288 s->c_dc_scale_table= ff_mpeg1_dc_scale_table; |
289 } | 289 } |
290 } | 290 } |
291 | 291 |
292 #if 0 /* unused, remove? */ | |
293 static int get_num(GetBitContext *gb) | |
294 { | |
295 int n, n1; | |
296 | |
297 n = get_bits(gb, 16); | |
298 if (n >= 0x4000) { | |
299 return n - 0x4000; | |
300 } else { | |
301 n1 = get_bits(gb, 16); | |
302 return (n << 16) | n1; | |
303 } | |
304 } | |
305 #endif | |
306 | |
307 #endif /* CONFIG_RV10_ENCODER || CONFIG_RV20_ENCODER */ | 292 #endif /* CONFIG_RV10_ENCODER || CONFIG_RV20_ENCODER */ |
308 | 293 |
309 /* read RV 1.0 compatible frame header */ | 294 /* read RV 1.0 compatible frame header */ |
310 static int rv10_decode_picture_header(MpegEncContext *s) | 295 static int rv10_decode_picture_header(MpegEncContext *s) |
311 { | 296 { |