[FFmpeg-devel] [PATCH] Fixed size unit given to init_get_bits()

Michael Niedermayer michaelni at gmx.at
Sat Sep 10 00:26:26 CEST 2011


On Sat, Sep 10, 2011 at 12:20:02AM +0200, Laurent Aimar wrote:
>  I reviewed all calls to init_get_bits() and fixed every instance where
> the unit used was bytes instead of bits except for libavcodec/xan.c
> where it is called with a size of 0...
> 
> -- 
> fenrir

>  libavcodec/aac_adtstoasc_bsf.c |    2 +-
>  libavcodec/avs.c               |    2 +-
>  libavcodec/jvdec.c             |    2 +-
>  libavcodec/rv34.c              |    2 +-
>  libavcodec/tta.c               |    2 +-
>  libavformat/movenc.c           |    2 +-
>  6 files changed, 6 insertions(+), 6 deletions(-)
> f989a24301a268a2d117eebbc5e801f062a86762  init_get_bits-p0.patch
> From b1001ce5d6586566166c383cab2d5ed930c7ec30 Mon Sep 17 00:00:00 2001
> From: Laurent Aimar <fenrir at videolan.org>
> Date: Fri, 9 Sep 2011 23:46:00 +0200
> Subject: [PATCH] Fixed size given to init_get_bits().
> 
> init_get_bits() takes a number of bits and not a number of bytes as
> its size argument.

applied, will be pushed soon

thanks

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

It is what and why we do it that matters, not just one of them.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110910/ef7bc1a2/attachment.asc>


More information about the ffmpeg-devel mailing list