vlc | branch: master | Rafaël Carré <fun...@videolan.org> | Thu Jul 25 12:52:41 2013 +0200| [e7876dc265a795f576d8f60691e8cf8d325840bb] | committer: Rafaël Carré
avcodec audioo: update block pointer on realloc > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e7876dc265a795f576d8f60691e8cf8d325840bb --- modules/codec/avcodec/audio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/codec/avcodec/audio.c b/modules/codec/avcodec/audio.c index b2f70ff..d6c0313 100644 --- a/modules/codec/avcodec/audio.c +++ b/modules/codec/avcodec/audio.c @@ -264,6 +264,7 @@ block_t * DecodeAudio ( decoder_t *p_dec, block_t **pp_block ) p_block = block_Realloc( p_block, 0, p_block->i_buffer + FF_INPUT_BUFFER_PADDING_SIZE ); if( !p_block ) return NULL; + *pp_block = p_block; p_block->i_buffer -= FF_INPUT_BUFFER_PADDING_SIZE; memset( &p_block->p_buffer[p_block->i_buffer], 0, FF_INPUT_BUFFER_PADDING_SIZE ); _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org http://mailman.videolan.org/listinfo/vlc-commits