avcodec/wmadec: handle run_level_decode error
authorSt├ęphane Cerveau <scerveau@collabora.com>
Tue, 24 Aug 2021 13:43:43 +0000 (09:43 -0400)
committerPaul B Mahol <onemda@gmail.com>
Thu, 26 Aug 2021 07:20:56 +0000 (09:20 +0200)
commitf9fbe2f9a9c7d2db98a6e49504a7154f743cd804
treeefdf5faab7bd50845c891a4a9b08cdc1bd227db2
parent521388edb7d3c176b444bbc3a42723cbafab2d55
avcodec/wmadec: handle run_level_decode error

Consider data as invalid if ff_wma_run_level_decode
gets out with an error.

It avoids an unpleasant sound distorsion.

See http://trac.ffmpeg.org/ticket/9358
libavcodec/wmadec.c