aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vc1_pred.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-12-09 12:37:18 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-12-12 16:55:33 +0100
commit9644ee224f56118e5b1ac4edc1b088a6a6ac2ac7 (patch)
tree711fe018dc4241f34a5657335b8309730273eb48 /libavcodec/vc1_pred.h
parentdd779749f05fd3a786857b06ee4efc5e193bf90e (diff)
downloadffmpeg-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/vc1_pred.h')
0 files changed, 0 insertions, 0 deletions