projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b452ee4
)
Original Commit: r42 | ods15 | 2006-09-23 10:53:16 +0300 (Sat, 23 Sep 2006) | 2 lines
author
Oded Shimon
<ods15@ods15.dyndns.org>
Mon, 2 Oct 2006 05:56:32 +0000
(
05:56
+0000)
committer
Oded Shimon
<ods15@ods15.dyndns.org>
Mon, 2 Oct 2006 05:56:32 +0000
(
05:56
+0000)
fix for residue end
Originally committed as revision 6450 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/vorbis_enc.c
patch
|
blob
|
history
diff --git
a/libavcodec/vorbis_enc.c
b/libavcodec/vorbis_enc.c
index
33a8ca4
..
9ace0dc
100644
(file)
--- a/
libavcodec/vorbis_enc.c
+++ b/
libavcodec/vorbis_enc.c
@@
-311,7
+311,7
@@
static void create_vorbis_context(venc_context_t * venc, AVCodecContext * avccon
rc = &venc->residues[0];
rc->type = 0;
rc->begin = 0;
- rc->end = 1 <<
venc->blocksize[0]
;
+ rc->end = 1 <<
(venc->blocksize[0] - 1)
;
rc->partition_size = 64;
rc->classifications = 1;
rc->classbook = 1;