[FFmpeg-devel] [PATCH] avcodec/avpacket: allow only one element per type in packet side data

Michael Niedermayer michael at niedermayer.cc
Sat May 13 00:27:09 EEST 2017


On Fri, May 12, 2017 at 01:58:27PM -0300, James Almer wrote:
> It was never meant to do otherwise, as av_packet_get_side_data() returns the first
> entry it finds of a given type.
> 
> Based on code from libavformat's av_stream_add_side_data().
> 
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
>  libavcodec/avpacket.c | 13 ++++++++++++-
>  1 file changed, 12 insertions(+), 1 deletion(-)

probably ok

thx

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

Opposition brings concord. Out of discord comes the fairest harmony.
-- Heraclitus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170512/0ba84046/attachment.sig>


More information about the ffmpeg-devel mailing list