[FFmpeg-cvslog] Use avpriv_copy_bits() instead of ff_copy_bits()

Mashiat Sarker Shakkhar git at videolan.org
Sun Nov 20 16:01:40 CET 2011


ffmpeg | branch: master | Mashiat Sarker Shakkhar <shahriman_ams at yahoo.com> | Sat Nov  5 01:25:22 2011 +0600| [a80a10bd734b88b7eb8bcf09af1a0c4e8d990e8e] | committer: Mashiat Sarker Shakkhar

Use avpriv_copy_bits() instead of ff_copy_bits()

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a80a10bd734b88b7eb8bcf09af1a0c4e8d990e8e
---

 libavcodec/wmalosslessdec.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/wmalosslessdec.c b/libavcodec/wmalosslessdec.c
index c116852..a15ea01 100644
--- a/libavcodec/wmalosslessdec.c
+++ b/libavcodec/wmalosslessdec.c
@@ -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);
 



More information about the ffmpeg-cvslog mailing list