[vlc-devel] commit: Revert "ffmpeg: fix corruption in earlier memory copy removal" ( 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:38:36 2009 +0200| [a76fd66d163d1965cabd7cf60a23e9d7a875ff8d] | committer: Laurent Aimar
Revert "ffmpeg: fix corruption in earlier memory copy removal"
This reverts commit 39f2d991ddb1ab38074ac485275dd2c6897fe53f.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a76fd66d163d1965cabd7cf60a23e9d7a875ff8d
---
modules/codec/avcodec/video.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/codec/avcodec/video.c b/modules/codec/avcodec/video.c
index 93aa5ee..8ce02ee 100644
--- a/modules/codec/avcodec/video.c
+++ b/modules/codec/avcodec/video.c
@@ -534,7 +534,7 @@ picture_t *DecodeVideo( decoder_t *p_dec, block_t **pp_block )
if( !p_block )
return NULL;
*pp_block = p_block;
- memset( p_block->p_buffer + p_block->i_buffer - FF_INPUT_BUFFER_PADDING_SIZE, 0,
+ memset( p_block->p_buffer + p_block->i_buffer, 0,
FF_INPUT_BUFFER_PADDING_SIZE );
}
More information about the vlc-devel
mailing list