[Ffmpeg-cvslog] r6426 - trunk/libavcodec/vorbis_enc.c
ods15
subversion
Mon Oct 2 07:55:39 CEST 2006
Author: ods15
Date: Mon Oct 2 07:55:39 2006
New Revision: 6426
Modified:
trunk/libavcodec/vorbis_enc.c
Log:
Original Commit: r15 | ods15 | 2006-09-22 12:26:42 +0300 (Fri, 22 Sep 2006) | 2 lines
bug fix in main header function, 0 -> i
Modified: trunk/libavcodec/vorbis_enc.c
==============================================================================
--- trunk/libavcodec/vorbis_enc.c (original)
+++ trunk/libavcodec/vorbis_enc.c Mon Oct 2 07:55:39 2006
@@ -388,7 +388,7 @@
// codebooks
put_bits(&pb, 8, venc->ncodebooks - 1);
- for (i = 0; i < venc->ncodebooks; i++) put_codebook_header(&pb, &venc->codebooks[0]);
+ for (i = 0; i < venc->ncodebooks; i++) put_codebook_header(&pb, &venc->codebooks[i]);
// time domain, reserved, zero
put_bits(&pb, 6, 0);
@@ -396,11 +396,11 @@
// floors
put_bits(&pb, 6, venc->nfloors - 1);
- for (i = 0; i < venc->nfloors; i++) put_floor_header(&pb, &venc->floors[0]);
+ for (i = 0; i < venc->nfloors; i++) put_floor_header(&pb, &venc->floors[i]);
// residues
put_bits(&pb, 6, venc->nresidues - 1);
- for (i = 0; i < venc->nresidues; i++) put_residue_header(&pb, &venc->residues[0]);
+ for (i = 0; i < venc->nresidues; i++) put_residue_header(&pb, &venc->residues[i]);
// mappings
put_bits(&pb, 6, venc->nmappings - 1);
More information about the ffmpeg-cvslog
mailing list