mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-01 21:48:15 +08:00
While APE changed container format in 3.98, frequency tables for range coding
were changed only in 3.99. This fixes decoding of v3.98 APE file I have. Eternal curses to the creator of such unstable format. Originally committed as revision 15019 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@ -372,7 +372,7 @@ static inline int ape_decode_value(APEContext * ctx, APERice *rice)
|
|||||||
{
|
{
|
||||||
int x, overflow;
|
int x, overflow;
|
||||||
|
|
||||||
if (ctx->fileversion < 3980) {
|
if (ctx->fileversion < 3990) {
|
||||||
int tmpk;
|
int tmpk;
|
||||||
|
|
||||||
overflow = range_get_symbol(ctx, counts_3970, counts_diff_3970);
|
overflow = range_get_symbol(ctx, counts_3970, counts_diff_3970);
|
||||||
|
Reference in New Issue
Block a user