diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-10-12 03:49:05 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-10-12 22:06:28 +0200 |
commit | 57eee75c3fd075e555df122f1abc45ca636a2726 (patch) | |
tree | 0dad19be0e6f3b59b27915851a8d368ee3c69e54 /libavutil/mem.h | |
parent | b9727870ae26eadbaa443828d856f33c79938579 (diff) | |
download | ffmpeg-57eee75c3fd075e555df122f1abc45ca636a2726.tar.gz |
avcodec/indeo2: Remove #ifdef BITSTREAM_READER_LE cruft
Before the LE bitstream reader was used in the Indeo 2 decoder,
a standard BE bitstream reader with swapped bits was used; when the LE
bitstream reader was added, the old code was only #ifdef'ed away and not
removed. Said code has several problems: It modifies the input packet
without ensuring that the packet is indeed writable; and it doesn't work
since 09c4e5c5988c0037d108c5fc2a137d9ad488f7f4 because said commit
removed the BE table used to initialize the VLC table. So just remove
this cruft from the actual decoder, too.
Also use INIT_LE_VLC_STATIC while at it.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavutil/mem.h')
0 files changed, 0 insertions, 0 deletions