aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/alac_data.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-09-27 19:39:44 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-10-04 18:01:01 +0200
commitbf8e40ae0d5975d3c18ef326ae62fe9052e746f6 (patch)
treea0498e2cff61ffbfd69bf217a9e5b3f24ba8a453 /libavcodec/alac_data.c
parent44bdb4efd0753a0c76571a5cbe251c0cc6b0070c (diff)
downloadffmpeg-bf8e40ae0d5975d3c18ef326ae62fe9052e746f6.tar.gz
avcodec/wmalosslessdec: Simplify flushing, avoid NULL + 0
Return immediately if not enough leftover bits are available when flushing. This is simpler and also avoids an init_get_bits(gb, NULL, 0) (which currently leads to NULL + 0, which is UB; this affects the lossless-wma(|-1|-2|-rawtile) FATE tests). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/alac_data.c')
0 files changed, 0 insertions, 0 deletions