diff options
author | James Almer <jamrial@gmail.com> | 2017-05-12 13:45:44 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-05-13 22:15:40 -0300 |
commit | 8c33e2e11bc9e8a46f07ad86500d5271484f6000 (patch) | |
tree | 25702a479622f67573d3199b6d221c244c23553d /doc/examples/transcoding.c | |
parent | 8fbd34750834a6c91ec4079b3ee9b0877f3a21b0 (diff) | |
download | ffmpeg-8c33e2e11bc9e8a46f07ad86500d5271484f6000.tar.gz |
avcodec/avpacket: allow only one element per type in packet side data
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().
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
(cherry picked from commit 28f60eeabbdc3d0550f45da813ba91a0354524c4)
Diffstat (limited to 'doc/examples/transcoding.c')
0 files changed, 0 insertions, 0 deletions