[vlc-devel] commit: Really fix avcodec avec block_Realloc change. (Laurent Aimar )
git version control
git at videolan.org
Mon Aug 31 19:41:26 CEST 2009
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Mon Aug 31 19:39:03 2009 +0200| [39328ae6ada45ef13ebe9c0b63b4959a5acf2aae] | committer: Laurent Aimar
Really fix avcodec avec block_Realloc change.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=39328ae6ada45ef13ebe9c0b63b4959a5acf2aae
---
modules/codec/avcodec/video.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/codec/avcodec/video.c b/modules/codec/avcodec/video.c
index 8ce02ee..77c461e 100644
--- a/modules/codec/avcodec/video.c
+++ b/modules/codec/avcodec/video.c
@@ -533,6 +533,7 @@ picture_t *DecodeVideo( decoder_t *p_dec, block_t **pp_block )
p_block->i_buffer + FF_INPUT_BUFFER_PADDING_SIZE );
if( !p_block )
return NULL;
+ p_block->i_buffer -= FF_INPUT_BUFFER_PADDING_SIZE;
*pp_block = p_block;
memset( p_block->p_buffer + p_block->i_buffer, 0,
FF_INPUT_BUFFER_PADDING_SIZE );
More information about the vlc-devel
mailing list