[FFmpeg-devel] [PATCH] ffmpeg: better dox for *pts.
Michael Niedermayer
michaelni at gmx.at
Thu Feb 9 18:28:01 CET 2012
On Wed, Feb 08, 2012 at 07:55:05PM +0100, Clément Bœsch wrote:
> On Wed, Feb 08, 2012 at 07:18:15PM +0100, Michael Niedermayer wrote:
> > Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> > ---
> > ffmpeg.c | 5 ++---
> > 1 files changed, 2 insertions(+), 3 deletions(-)
> >
> > diff --git a/ffmpeg.c b/ffmpeg.c
> > index d2cbd03..959a762 100644
> > --- a/ffmpeg.c
> > +++ b/ffmpeg.c
> > @@ -210,9 +210,8 @@ typedef struct InputStream {
> > /* dts of the last packet read for this stream */
> > int64_t dts;
> >
> > - int64_t next_pts; /* synthetic pts for cases where pkt.pts
> > - is not defined */
> > - int64_t pts; /* current pts */
> > + int64_t next_pts; /**< synthetic pts for the next decode frame */
> > + int64_t pts; /**< current pts of the decoded frame */
>
> "/**< ... */" form is mainly for multiline comments AFAICT (and the '<' is
> pointing on the field it is related to avoid confusion). If the comment is
> inlined you can use simply use "///< ...".
fixed, applied
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Many that live deserve death. And some that die deserve life. Can you give
it to them? Then do not be too eager to deal out death in judgement. For
even the very wise cannot see all ends. -- Gandalf
-------------- 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/20120209/afb6ba04/attachment.asc>
More information about the ffmpeg-devel
mailing list