Commit 0a666ec5 authored by Gildas Bazin's avatar Gildas Bazin

* modules/stream_out/transcode.c: free the original picture pointer, not the aligned one.

parent 4cf15dfa
......@@ -1718,7 +1718,7 @@ static picture_t *video_new_buffer( decoder_t *p_dec )
static void video_del_buffer( decoder_t *p_dec, picture_t *p_pic )
{
if( p_pic && p_pic->p_data ) free( p_pic->p_data );
if( p_pic && p_pic->p_data_orig ) free( p_pic->p_data_orig );
if( p_pic && p_pic->p_sys ) free( p_pic->p_sys );
if( p_pic ) free( p_pic );
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment