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 insertions(+), 1 deletion(-
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
> ---
> libavcode
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