[FFmpeg-devel] [PATCH] Improve documentation for flush_put_bits()

Stefano Sabatini stefano.sabatini-lala
Sat Nov 28 11:13:43 CET 2009


On date Saturday 2009-04-11 15:18:20 +0200, Diego Biurrun encoded:
> On Sat, Apr 11, 2009 at 01:14:37PM +0200, Stefano Sabatini wrote:
> > --- ffmpeg.orig/libavcodec/bitstream.h	2009-04-11 11:14:07.000000000 +0200
> > +++ ffmpeg/libavcodec/bitstream.h	2009-04-11 13:08:10.000000000 +0200
> > @@ -129,7 +129,8 @@
> >  
> >  /**
> > - * Pads the end of the output stream with zeros.
> > + * Flushes the content of the bitstream writer internal buffer, padded
> > + * with zeros, to the bitstream.
> >   */
> >  static inline void flush_put_bits(PutBitContext *s)
> 
> Still sounds awkward to me.  I don't have a good alternative for "flush
> to the bitstream" though.  Maybe some of the native speakers can help.

What about "Writes"? ;-)

Patch updated (yes I'm trying to clean up my inbox...).

Regards.
-- 
FFmpeg = Forgiving Fast Mystic Picky Eccentric Gadget
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-for-flush-put-bits-doc.patch
Type: text/x-diff
Size: 520 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20091128/f6c12e44/attachment.patch>



More information about the ffmpeg-devel mailing list