mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
10l, wrong order in freeing
Originally committed as revision 6526 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
35af7a9b27
commit
419550990c
@ -1031,10 +1031,10 @@ static int vorbis_encode_close(AVCodecContext * avccontext)
|
||||
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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user