changeset 7723:20b105281e87 libavcodec

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.
author kostya
date Fri, 29 Aug 2008 06:14:53 +0000
parents a618bba0b6b4
children ea9aa2aa4caa
files apedec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/apedec.c	Fri Aug 29 04:02:04 2008 +0000
+++ b/apedec.c	Fri Aug 29 06:14:53 2008 +0000
@@ -372,7 +372,7 @@
 {
     int x, overflow;
 
-    if (ctx->fileversion < 3980) {
+    if (ctx->fileversion < 3990) {
         int tmpk;
 
         overflow = range_get_symbol(ctx, counts_3970, counts_diff_3970);