aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ppc/fdctdsp.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-03-29 18:54:46 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-04-02 12:06:56 +0200
commit5d4234b3ea376c59a53a9ab6fb69aae8c5ee8fac (patch)
treec4f558779ec59a5170b6e6e415b57a3ff280101d /libavcodec/ppc/fdctdsp.c
parent968c158abde36ebb7520706a69eebe3e8eacbd81 (diff)
downloadffmpeg-5d4234b3ea376c59a53a9ab6fb69aae8c5ee8fac.tar.gz
avcodec/ac3enc: Avoid needlessly copying encoded packets around
AC-3 and EAC-3 are codecs whose packet sizes are known in advance, so one can use the min_size parameter of ff_alloc_packet2() to allocate exactly this amount. This avoids a memcpy later in av_packet_make_refcounted() in encode_simple_internal(). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/ppc/fdctdsp.c')
0 files changed, 0 insertions, 0 deletions