vlc | branch: master | Felix Paul Kühne <[email protected]> | Thu May 2 12:02:30 2013 +0200| [ac41e27c5a0481fffd9fe0674fb48addf986aab1] | committer: Felix Paul Kühne
vda: fix major memory leak which killed decoding shortly after start (close #8440) > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ac41e27c5a0481fffd9fe0674fb48addf986aab1 --- modules/codec/avcodec/vda.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/codec/avcodec/vda.c b/modules/codec/avcodec/vda.c index 31eda1a..a0a791b 100644 --- a/modules/codec/avcodec/vda.c +++ b/modules/codec/avcodec/vda.c @@ -103,6 +103,7 @@ static void vda_Copy420YpCbCr8Planar( picture_t *p_pic, i_width, i_height, cache ); CVPixelBufferUnlockBaseAddress( buffer, 0 ); + CVPixelBufferRelease( buffer ); } /***************************************************************************** @@ -133,6 +134,7 @@ static void vda_Copy422YpCbCr8( picture_t *p_pic, } CVPixelBufferUnlockBaseAddress( buffer, 0 ); + CVPixelBufferRelease( buffer ); } static int Setup( vlc_va_t *p_external, void **pp_hw_ctx, vlc_fourcc_t *pi_chroma, _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
