Browse Source

Use avpriv_copy_bits() instead of ff_copy_bits()

tags/n0.9
Mashiat Sarker Shakkhar 13 years ago
parent
commit
a80a10bd73
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavcodec/wmalosslessdec.c

+ 2
- 2
libavcodec/wmalosslessdec.c View File

@@ -997,14 +997,14 @@ static void save_bits(WmallDecodeCtx *s, GetBitContext* gb, int len,

s->num_saved_bits += len;
if (!append) {
ff_copy_bits(&s->pb, gb->buffer + (get_bits_count(gb) >> 3),
avpriv_copy_bits(&s->pb, gb->buffer + (get_bits_count(gb) >> 3),
s->num_saved_bits);
} else {
int align = 8 - (get_bits_count(gb) & 7);
align = FFMIN(align, len);
put_bits(&s->pb, align, get_bits(gb, align));
len -= align;
ff_copy_bits(&s->pb, gb->buffer + (get_bits_count(gb) >> 3), len);
avpriv_copy_bits(&s->pb, gb->buffer + (get_bits_count(gb) >> 3), len);
}
skip_bits_long(gb, len);



Loading…
Cancel
Save