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

2017-05-12 Thread James Almer
On 5/12/2017 6:27 PM, Michael Niedermayer wrote: > 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

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

2017-05-12 Thread Michael Niedermayer
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

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

2017-05-12 Thread James Almer
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 --- libavcodec/avpacket.c | 13 - 1 file changed, 12