[FFmpeg-cvslog] r20227 - trunk/libavcodec/4xm.c
reimar
subversion
Tue Oct 13 20:28:37 CEST 2009
Author: reimar
Date: Tue Oct 13 20:28:37 2009
New Revision: 20227
Log:
Add missing release_buffer on close
Modified:
trunk/libavcodec/4xm.c
Modified: trunk/libavcodec/4xm.c
==============================================================================
--- trunk/libavcodec/4xm.c Tue Oct 13 20:15:57 2009 (r20226)
+++ trunk/libavcodec/4xm.c Tue Oct 13 20:28:37 2009 (r20227)
@@ -832,6 +832,10 @@ static av_cold int decode_end(AVCodecCon
f->cfrm[i].allocated_size= 0;
}
free_vlc(&f->pre_vlc);
+ if(f->current_picture.data[0])
+ avctx->release_buffer(avctx, &f->current_picture);
+ if(f->last_picture.data[0])
+ avctx->release_buffer(avctx, &f->last_picture);
return 0;
}
More information about the ffmpeg-cvslog
mailing list