[FFmpeg-devel] [PATCH 1/5] add side data to indicate the amount of samples to skip at the begin and end

Michael Niedermayer michaelni at gmx.at
Thu Jul 5 22:40:57 CEST 2012


On Thu, Jul 05, 2012 at 05:51:28PM +0200, Nicolas George wrote:
> Le septidi 17 messidor, an CCXX, Michael Niedermayer a écrit :
> > Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> > ---
> >  libavcodec/avcodec.h |   11 +++++++++++
> >  1 file changed, 11 insertions(+)
> > 
> > diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
> > index 9748ba6..87caf37 100644
> > --- a/libavcodec/avcodec.h
> > +++ b/libavcodec/avcodec.h
> > @@ -852,6 +852,17 @@ enum AVPacketSideDataType {
> >       * @endcode
> >       */
> >      AV_PKT_DATA_H263_MB_INFO,
> > +
> > +    /**
> > +     * Recommmands skiping the specified number of samples
> 
> Recommends, with a e.
> 
> > +     * @code
> > +     * u32le number of samples to skip from start of this packet
> > +     * u32le number of samples to skip from end of this packet
> > +     * u8    reason for start skip
> > +     * u8    reason for end   skip (0=padding silence, 1=convergence)
> > +     * @endcode
> > +     */
> > +    AV_PKT_DATA_SKIP_SAMPLES=70,
> 
> It suppose the =70 is there to avoid conflicts with the fork? Any reason for
> the specific value?

no, its just random


> 
> >  };
> >  
> >  typedef struct AVPacket {
> 
> Looks fine apart from the typo.

applied

thanks

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The real ebay dictionary, page 3
"Rare item" - "Common item with rare defect or maybe just a lie"
"Professional" - "'Toy' made in china, not functional except as doorstop"
"Experts will know" - "The seller hopes you are not an expert"
-------------- 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/20120705/6b41c615/attachment.asc>


More information about the ffmpeg-devel mailing list