[FFmpeg-devel] [PATCH 1/3] utils.c: when packets are written by s->oformat->write_packet( ), add output packet size to out_bytes.

Michael Niedermayer michaelni at gmx.at
Tue Aug 14 05:29:52 CEST 2012

On Mon, Aug 13, 2012 at 07:16:54PM -0700, Michael Smithng wrote:
> When interleave_packet() is done (returns 0), return out_bytes instead of normal return (0).
> ---
>  libavformat/utils.c | 12 +++++++++---
>  1 file changed, 9 insertions(+), 3 deletions(-)

this looks wrong
you are changing public API and add a unused return value.

The packet size is in AVPacket.size the question is why is it not
added up correctly, or why/where the value gets messed up before being
added up

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

DNS cache poisoning attacks, popular search engine, Google internet authority
dont be evil, please
-------------- 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/20120814/d6d0994b/attachment.asc>

More information about the ffmpeg-devel mailing list