Browse Source

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
83422c1940 in 2008.

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
tags/n4.4
Andreas Rheinhardt 4 years ago
parent
commit
6fad76b51d
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      libavcodec/bitstream.c

+ 0
- 3
libavcodec/bitstream.c View File

@@ -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 'wrap' and 'size' make it possible to use any memory configuration and types
(byte/word/long) to store the 'bits', 'codes', and 'symbols' tables. (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, int ff_init_vlc_sparse(VLC *vlc_arg, int nb_bits, int nb_codes,
const void *bits, int bits_wrap, int bits_size, const void *bits, int bits_wrap, int bits_size,


Loading…
Cancel
Save