summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-08-29 18:23:02 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-09-01 09:07:58 +0200
commit6fad76b51d24aba31abd35533ee747e6c4df8ec1 (patch)
treee885e5bdaf4943cc283385f877a35efa8b86c833 /libavcodec
parente4389ba0751a6738bac2b395662649efcecb60c1 (diff)
avcodec/bitstream: Remove outdated comment
The comment referred to the INIT_VLC_USE_STATIC flag which has been removed in 2009 in 595324e143b57a52e2329eb47b84395c70f93087; the function it referred to was removed even earlier in commit 83422c1940d963d395a64bee0cbb9c637192ce8c in 2008. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/bitstream.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/bitstream.c b/libavcodec/bitstream.c
index d379dbc0e8..95e5092b44 100644
--- a/libavcodec/bitstream.c
+++ b/libavcodec/bitstream.c
@@ -266,9 +266,6 @@ static int build_table(VLC *vlc, int table_nb_bits, int nb_codes,
'wrap' and 'size' make it possible to use any memory configuration and types
(byte/word/long) to store the 'bits', 'codes', and 'symbols' tables.
-
- 'use_static' should be set to 1 for tables, which should be freed
- with av_free_static(), 0 if ff_free_vlc() will be used.
*/
int ff_init_vlc_sparse(VLC *vlc_arg, int nb_bits, int nb_codes,
const void *bits, int bits_wrap, int bits_size,