diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-08-08 10:42:32 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-08-10 18:49:35 +0200 |
commit | 3d5a74cc3899df9d1f0b215b03bfddd1c8226f04 (patch) | |
tree | 22e7ec1a3e2f89e2089c4ca9779eb67ea6ff231b /libavformat/rso.c | |
parent | 68a90ac3e6bc192d78b30faa9f771c14775c93e8 (diff) | |
download | ffmpeg-3d5a74cc3899df9d1f0b215b03bfddd1c8226f04.tar.gz |
avcodec/mpegpicture: Remove always-true checks
Of all the buffers that are made writable, three are always allocated
and the other four are allocated iff any one of them is allocated;
so one can replace the seven checks for existence with one.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/rso.c')
0 files changed, 0 insertions, 0 deletions