diff options
author | James Almer <jamrial@gmail.com> | 2018-03-24 19:18:59 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2018-04-01 23:40:41 -0300 |
commit | 860086ee168866c8b7cdb5c1c13ac962c5f3efc4 (patch) | |
tree | 91acb5b03c1a16deb780fefa00de596927693643 /tests/api/api-codec-param-test.c | |
parent | e0f32286861ddf7666ba92297686fa216d65968e (diff) | |
download | ffmpeg-860086ee168866c8b7cdb5c1c13ac962c5f3efc4.tar.gz |
avcodec/avpacket: add av_packet_make_refcounted()
It works as a drop in replacement for the deprecated av_dup_packet(),
to ensure a packet is reference counted.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'tests/api/api-codec-param-test.c')
0 files changed, 0 insertions, 0 deletions