aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/snow.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-04-12 19:58:16 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-04-13 00:36:57 +0200
commitcc0a4fa6304ce0f608a058dc80e3e1f5d7bcfe6a (patch)
treea899834a88862832f6dbe1d330fa8e1a76a9a1f5 /libavcodec/snow.c
parent300dd79c3d764a5d38b914bb0f36ba195422068e (diff)
downloadffmpeg-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/snow.c')
0 files changed, 0 insertions, 0 deletions