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

Nicolas George nicolas.george at normalesup.org
Thu Jul 5 17:51:28 CEST 2012


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?

>  };
>  
>  typedef struct AVPacket {

Looks fine apart from the typo.

Regards,

-- 
  Nicolas George
-------------- 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/0eb29446/attachment.asc>


More information about the ffmpeg-devel mailing list