Revision ce6636b1 libavcodec/rv10.c

View differences:

libavcodec/rv10.c
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 292
#endif /* CONFIG_RV10_ENCODER || CONFIG_RV20_ENCODER */
308 293

  
309 294
/* read RV 1.0 compatible frame header */

Also available in: Unified diff