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

Diego Biurrun diego
Sat Apr 11 15:18:20 CEST 2009


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.

Diego



More information about the ffmpeg-devel mailing list