diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-07-25 07:21:49 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-09-18 01:09:25 +0200 |
commit | 2cef0316747499f3d845d778fbf7e1d1d27d55fb (patch) | |
tree | 4525abe9e6f2357443a66a7fef2ca70afd20cabd /libavcodec/takdsp.c | |
parent | 2cb5e3cff9beba07171bf4c778048d63649835b3 (diff) | |
download | ffmpeg-2cef0316747499f3d845d778fbf7e1d1d27d55fb.tar.gz |
avcodec/smacker: Don't warn for Huffmann tables with one element
The Huffmann tables used by Smacker can consist of exactly one leaf only
in which case the length of the corresponding code is zero; there is
then exactly one value encoded. Our VLC can't handle this and therefore
this case needs to be treated separately; it has been implemented in
commit 48cbdaea157671d456750e00fde37c6d7595fad6. Yet said commit also
made the decoder emit an error message (despite not erroring out) in this
case, although it seems that this is rather a limitation of our VLC API.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/takdsp.c')
0 files changed, 0 insertions, 0 deletions