[FFmpeg-devel] [PATCH] Rename put_sbit() params
Michael Niedermayer
michaelni
Sat Nov 28 12:05:37 CET 2009
On Sat, Nov 28, 2009 at 11:43:34AM +0100, Stefano Sabatini wrote:
> On date Saturday 2009-04-11 12:05:32 +0200, Stefano Sabatini encoded:
> > Hi,
> >
> > this should make more apparent the similarities between put_bits() and
> > put_sbits().
> >
> > Decrease the user sense of wonder when reading the declaration.
>
> Patch updated.
> --
> FFmpeg = Foolish and Fundamentalist Magic Philosofic Extreme Glue
> put_bits.h | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
> b0bf9d0b47ef3c8b818a2fb49b62ab5caa2ab830 bs-rename-put-sbits-params.patch
> Index: ffmpeg/libavcodec/put_bits.h
> ===================================================================
> --- ffmpeg.orig/libavcodec/put_bits.h 2009-11-28 11:40:12.000000000 +0100
> +++ ffmpeg/libavcodec/put_bits.h 2009-11-28 11:40:52.000000000 +0100
> @@ -257,11 +257,11 @@
> }
> #endif
>
> -static inline void put_sbits(PutBitContext *pb, int bits, int32_t val)
> +static inline void put_sbits(PutBitContext *s, int n, int32_t value)
pb is better than s
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
If you really think that XML is the answer, then you definitly missunderstood
the question -- Attila Kinali
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20091128/8bd4716e/attachment.pgp>
More information about the ffmpeg-devel
mailing list