[FFmpeg-devel] [PATCH] VP8 de/encode via libvpx

Michael Niedermayer michaelni
Thu Jun 3 17:28:02 CEST 2010


On Wed, Jun 02, 2010 at 06:22:53PM -0400, James Zern wrote:
[...]
> +static inline void cx_pktcpy(struct FrameListData *dst,
> +                             const struct vpx_codec_cx_pkt *src)
> +{
> +    dst->pts      = src->data.frame.pts;
> +    dst->duration = src->data.frame.duration;
> +    dst->flags    = src->data.frame.flags;
> +    dst->sz       = src->data.frame.sz;
> +    dst->buf      = src->data.frame.buf;
> +}

why this function instead of 
*dst= src->data.frame
?

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Into a blind darkness they enter who follow after the Ignorance,
they as if into a greater darkness enter who devote themselves
to the Knowledge alone. -- Isha Upanishad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100603/f0741d3d/attachment.pgp>



More information about the ffmpeg-devel mailing list