diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-04-12 19:58:16 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-04-13 00:36:57 +0200 |
commit | cc0a4fa6304ce0f608a058dc80e3e1f5d7bcfe6a (patch) | |
tree | a899834a88862832f6dbe1d330fa8e1a76a9a1f5 /libavcodec/cdgraphics.c | |
parent | 300dd79c3d764a5d38b914bb0f36ba195422068e (diff) | |
download | ffmpeg-cc0a4fa6304ce0f608a058dc80e3e1f5d7bcfe6a.tar.gz |
avcodec/vbn(dec|enc): Avoid always-false checks
Do this by switching to bytestream2_(get|put)_le32u() from
bytestream2_(get|put)_le32(); it has after all already been checked
that the packet contains at least a full header, making all
the implicit checks in bytestream2_(get|put)_le32() dead code.
Reviewed-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/cdgraphics.c')
0 files changed, 0 insertions, 0 deletions