[FFmpeg-devel] [PATCH] Document ff_put_string()

Stefano Sabatini stefano.sabatini-lala
Sat Apr 11 10:42:15 CEST 2009


On date Friday 2009-04-10 19:09:04 +0200, Michael Niedermayer encoded:
> On Fri, Apr 10, 2009 at 06:09:41PM +0200, Stefano Sabatini wrote:
> > Hi,
> > as in subject.
> > -- 
> > FFmpeg = Fast & Funny Mastodontic Portentous Erotic Generator
> 
> > Index: ffmpeg/libavcodec/bitstream.h
> > ===================================================================
> > --- ffmpeg.orig/libavcodec/bitstream.h	2009-04-10 18:05:29.000000000 +0200
> > +++ ffmpeg/libavcodec/bitstream.h	2009-04-10 18:07:21.000000000 +0200
> > @@ -159,6 +159,13 @@
> >   * Pads the bitstream with zeros up to the next byte boundary.
> >   */
> >  void put_bits_align(PutBitContext *s);
> > +
> > +/**
> > + * Puts the string \p s in the bitstream.
> > + *
> 
> > + * @param put_zero if non-zero puts in the bitstream the terminating
> > + * character
> 
> well ok after reading it twice it makes sense but maybe you could change
> this so it makes sense on the first pass?

Second try attached.

Regards.
-- 
FFmpeg = Frenzy and Foolish Mysterious Pitiless Entertaining Game
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bs-document-ff-put-string.patch
Type: text/x-diff
Size: 686 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090411/5694ea3d/attachment.patch>



More information about the ffmpeg-devel mailing list