[Ffmpeg-cvslog] r6437 - trunk/libavcodec/vorbis_enc.c
ods15
subversion
Mon Oct 2 07:56:03 CEST 2006
Author: ods15
Date: Mon Oct 2 07:56:03 2006
New Revision: 6437
Modified:
trunk/libavcodec/vorbis_enc.c
Log:
Original Commit: r26 | ods15 | 2006-09-22 14:18:22 +0300 (Fri, 22 Sep 2006) | 2 lines
crash fix
Modified: trunk/libavcodec/vorbis_enc.c
==============================================================================
--- trunk/libavcodec/vorbis_enc.c (original)
+++ trunk/libavcodec/vorbis_enc.c Mon Oct 2 07:56:03 2006
@@ -225,7 +225,7 @@
fc = &venc->floors[0];
fc->partitions = 1;
fc->partition_to_class = av_malloc(sizeof(int) * fc->partitions);
- for (i = 0; i < fc->partitions; i++) fc->partition_to_class = 0;
+ for (i = 0; i < fc->partitions; i++) fc->partition_to_class[i] = 0;
fc->nclasses = 1;
fc->classes = av_malloc(sizeof(floor_class_t) * fc->nclasses);
for (i = 0; i < fc->nclasses; i++) {
More information about the ffmpeg-cvslog
mailing list