diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-04-07 19:15:39 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-04-11 12:53:26 +0200 |
commit | 3cd136bc120aee7ccba5965b400e121dc1476c10 (patch) | |
tree | 43156ed80a0ad6addd1dc5d13e19a6253e9d95c2 /libavcodec/ac3enc.h | |
parent | 7311a9086eb12573f89a05e200f9c11a8d47ee26 (diff) | |
download | ffmpeg-3cd136bc120aee7ccba5965b400e121dc1476c10.tar.gz |
avcodec/ac3enc: Deduplicate copying input samples
These memcpy operands only depend upon sizeof(SampleType)
(and this size is actually the same for both the fixed-point
and the floating-point encoders for most (all supported?)
systems).
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/ac3enc.h')
-rw-r--r-- | libavcodec/ac3enc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ac3enc.h b/libavcodec/ac3enc.h index 8d6cb3b3de..271f0eb8eb 100644 --- a/libavcodec/ac3enc.h +++ b/libavcodec/ac3enc.h @@ -255,7 +255,7 @@ typedef struct AC3EncodeContext { int ref_bap_set; ///< indicates if ref_bap pointers have been set /** fixed vs. float function pointers */ - void (*encode_frame)(struct AC3EncodeContext *s, const AVFrame *frame); + void (*encode_frame)(struct AC3EncodeContext *s); /* fixed vs. float function pointers */ int (*mdct_init)(struct AC3EncodeContext *s); |