[Ffmpeg-cvslog] r6526 - trunk/libavcodec/vorbis_enc.c

ods15 subversion
Mon Oct 2 13:47:10 CEST 2006


Author: ods15
Date: Mon Oct  2 13:47:10 2006
New Revision: 6526

Modified:
   trunk/libavcodec/vorbis_enc.c

Log:
10l, wrong order in freeing


Modified: trunk/libavcodec/vorbis_enc.c
==============================================================================
--- trunk/libavcodec/vorbis_enc.c	(original)
+++ trunk/libavcodec/vorbis_enc.c	Mon Oct  2 13:47:10 2006
@@ -1031,10 +1031,10 @@
     if (venc->floors)
         for (i = 0; i < venc->nfloors; i++) {
             int j;
-            av_freep(&venc->floors[i].classes);
             if (venc->floors[i].classes)
                 for (j = 0; j < venc->floors[i].nclasses; j++)
                     av_freep(&venc->floors[i].classes[j].books);
+            av_freep(&venc->floors[i].classes);
             av_freep(&venc->floors[i].partition_to_class);
             av_freep(&venc->floors[i].list);
         }




More information about the ffmpeg-cvslog mailing list