diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-04-20 03:11:39 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-06-12 10:37:16 +0200 |
commit | 0aaabe1fd72fb4d302a433ce33e45fb8c2301d6f (patch) | |
tree | b81751073d01405faf64012de600d8ca191e3f28 /libavcodec/mpc.h | |
parent | 2786d34712491dbd74a3f3cead3eac5fe99af97d (diff) | |
download | ffmpeg-0aaabe1fd72fb4d302a433ce33e45fb8c2301d6f.tar.gz |
avcodec/get_buffer: Remove redundant check
It is unnecessary to check for whether the number of planes
of an already existing audio pool coincides with the number
of planes to use for the frame: If the common format of both
is planar, then the number of planes coincides with the number
of channels for which there is already a check*; if not,
then both the existing pool as well as the frame use one pool.
*: In fact, one could reuse the pool in this case even if the
number of channels changes.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/mpc.h')
0 files changed, 0 insertions, 0 deletions