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

James Almer jamrial at gmail.com
Sat May 13 01:12:40 EEST 2017


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 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

Pushed.


More information about the ffmpeg-devel mailing list