[FFmpeg-cvslog] r15019 - trunk/libavcodec/apedec.c

kostya subversion
Fri Aug 29 08:14:53 CEST 2008


Author: kostya
Date: Fri Aug 29 08:14:53 2008
New Revision: 15019

Log:
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.


Modified:
   trunk/libavcodec/apedec.c

Modified: trunk/libavcodec/apedec.c
==============================================================================
--- trunk/libavcodec/apedec.c	(original)
+++ trunk/libavcodec/apedec.c	Fri Aug 29 08:14:53 2008
@@ -372,7 +372,7 @@ static inline int ape_decode_value(APECo
 {
     int x, overflow;
 
-    if (ctx->fileversion < 3980) {
+    if (ctx->fileversion < 3990) {
         int tmpk;
 
         overflow = range_get_symbol(ctx, counts_3970, counts_diff_3970);




More information about the ffmpeg-cvslog mailing list