OSDN Git Service

34l: free RV3/4 context variables at the end
authorKostya Shishkov <kostya.shishkov@gmail.com>
Mon, 20 Oct 2008 05:59:50 +0000 (05:59 +0000)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Mon, 20 Oct 2008 05:59:50 +0000 (05:59 +0000)
Originally committed as revision 15652 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/rv34.c

index c8894be..f93e6eb 100644 (file)
@@ -1329,6 +1329,9 @@ av_cold int ff_rv34_decode_end(AVCodecContext *avctx)
     av_freep(&r->intra_types_hist);
     r->intra_types = NULL;
     av_freep(&r->mb_type);
+    av_freep(&r->cbp_luma);
+    av_freep(&r->cbp_chroma);
+    av_freep(&r->deblock_coefs);
 
     return 0;
 }