diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2008-08-29 06:14:53 +0000 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2008-08-29 06:14:53 +0000 |
commit | eca0bcb66ebb23200efe056a453560dbb68608ac (patch) | |
tree | ea531c164489385e11fd5e5d970208fc5b662500 /libavcodec/apedec.c | |
parent | 2bfd8855fb0a06ff9bc8835b24e4c94e86dc80ad (diff) | |
download | ffmpeg-eca0bcb66ebb23200efe056a453560dbb68608ac.tar.gz |
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
Diffstat (limited to 'libavcodec/apedec.c')
-rw-r--r-- | libavcodec/apedec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/apedec.c b/libavcodec/apedec.c index 40fb1f365d..83281c1035 100644 --- a/libavcodec/apedec.c +++ b/libavcodec/apedec.c @@ -372,7 +372,7 @@ static inline int ape_decode_value(APEContext * ctx, APERice *rice) { int x, overflow; - if (ctx->fileversion < 3980) { + if (ctx->fileversion < 3990) { int tmpk; overflow = range_get_symbol(ctx, counts_3970, counts_diff_3970); |