[FFmpeg-devel] [PATCH] avpacket: do not copy data when buf ref is available.

Michael Niedermayer michaelni at gmx.at
Tue Mar 12 18:22:10 CET 2013


On Tue, Mar 12, 2013 at 08:22:26AM +0100, Clément Bœsch wrote:
> On Tue, Mar 12, 2013 at 08:13:38AM +0100, Clément Bœsch wrote:
> > This at least fixes issues with lavf/subtitles.
> > ---
> >  libavcodec/avpacket.c | 12 ++++++++++--
> >  1 file changed, 10 insertions(+), 2 deletions(-)
> > 
> 
> Functionally identical, but simpler.
> 
> -- 
> Clément B.

>  avpacket.c |   11 +++++++++--
>  1 file changed, 9 insertions(+), 2 deletions(-)
> 10c78e97d43e6ae3fdbf216ea16f6519acbbf183  0001-avpacket-do-not-copy-data-when-buf-ref-is-available.patch
> From 312fd3c73d83f4cb10b9e7de7e7b4ea45c3c0b72 Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= <ubitux at gmail.com>
> Date: Tue, 12 Mar 2013 08:13:21 +0100
> Subject: [PATCH] avpacket: do not copy data when buf ref is available.
> 
> This at least fixes issues with lavf/subtitles.

this also changes av_dup_packet i think, is this intended ?

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

What does censorship reveal? It reveals fear. -- Julian Assange
-------------- 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/20130312/b5f48290/attachment.asc>


More information about the ffmpeg-devel mailing list