Skip to content
Snippets Groups Projects
Commit 5439959e authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

avcodec/huffyuvdec: do not leave alpha values uninitialized


fixes fate failure under valgrind

Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parent 99a8a3de
No related branches found
No related tags found
No related merge requests found
......@@ -770,7 +770,8 @@ static av_always_inline void decode_bgr_1(HYuvContext *s, int count,
index = SHOW_UBITS(re, &s->gb, VLC_BITS);
VLC_INTERN(s->temp[0][4 * i + A], s->vlc[2].table,
&s->gb, re, VLC_BITS, 3);
}
} else
s->temp[0][4 * i + A] = 0;
}
}
CLOSE_READER(re, &s->gb);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment