mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-20 21:00:41 +08:00
avcodec/utvideodec: Fix shadowing
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -76,13 +76,12 @@ typedef struct HuffEntry {
|
||||
static int build_huff(UtvideoContext *c, const uint8_t *src, VLC *vlc,
|
||||
VLC_MULTI *multi, int *fsym, unsigned nb_elems)
|
||||
{
|
||||
int i;
|
||||
HuffEntry he[1024];
|
||||
uint8_t bits[1024];
|
||||
uint16_t codes_count[33] = { 0 };
|
||||
|
||||
*fsym = -1;
|
||||
for (i = 0; i < nb_elems; i++) {
|
||||
for (unsigned i = 0; i < nb_elems; i++) {
|
||||
if (src[i] == 0) {
|
||||
*fsym = i;
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user