diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-09-27 19:39:44 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-10-04 18:01:01 +0200 |
commit | bf8e40ae0d5975d3c18ef326ae62fe9052e746f6 (patch) | |
tree | a0498e2cff61ffbfd69bf217a9e5b3f24ba8a453 /libavutil/pixfmt.h | |
parent | 44bdb4efd0753a0c76571a5cbe251c0cc6b0070c (diff) | |
download | ffmpeg-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 'libavutil/pixfmt.h')
0 files changed, 0 insertions, 0 deletions