decoder/mad: work around bogus -Wuninitialized in GCC 10
This commit is contained in:
parent
dc3c0c8866
commit
0cf90ee8b6
@ -719,6 +719,11 @@ MadDecoder::DecodeFirstFrame(Tag *tag) noexcept
|
|||||||
{
|
{
|
||||||
struct xing xing;
|
struct xing xing;
|
||||||
|
|
||||||
|
#if GCC_CHECK_VERSION(10,0)
|
||||||
|
/* work around bogus -Wuninitialized in GCC 10 */
|
||||||
|
xing.frames = 0;
|
||||||
|
#endif
|
||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
MadDecoderAction ret;
|
MadDecoderAction ret;
|
||||||
do {
|
do {
|
||||||
|
Loading…
Reference in New Issue
Block a user