diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-12-09 12:37:18 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-12-12 16:55:33 +0100 |
commit | 9644ee224f56118e5b1ac4edc1b088a6a6ac2ac7 (patch) | |
tree | 711fe018dc4241f34a5657335b8309730273eb48 /libavcodec/rangecoder.h | |
parent | dd779749f05fd3a786857b06ee4efc5e193bf90e (diff) | |
download | ffmpeg-9644ee224f56118e5b1ac4edc1b088a6a6ac2ac7.tar.gz |
avcodec/mmaldec: Avoid creating unnecessary reference, simplify code
ffmal_add_packet() basically duplicated the logic in
av_packet_make_refcounted() with the added twist that it always
created a reference even if one is already available.
This commit stops doing this.
Tested-by: Cameron Gutman <aicommander@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/rangecoder.h')
0 files changed, 0 insertions, 0 deletions