Use avpriv_copy_bits() instead of ff_copy_bits()

parent 374582ac
...@@ -997,14 +997,14 @@ static void save_bits(WmallDecodeCtx *s, GetBitContext* gb, int len, ...@@ -997,14 +997,14 @@ static void save_bits(WmallDecodeCtx *s, GetBitContext* gb, int len,
s->num_saved_bits += len; s->num_saved_bits += len;
if (!append) { 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); s->num_saved_bits);
} else { } else {
int align = 8 - (get_bits_count(gb) & 7); int align = 8 - (get_bits_count(gb) & 7);
align = FFMIN(align, len); align = FFMIN(align, len);
put_bits(&s->pb, align, get_bits(gb, align)); put_bits(&s->pb, align, get_bits(gb, align));
len -= 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); skip_bits_long(gb, len);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment