From a734250db6d0ddce959ff472cfef0b682817c6aa Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 13 Feb 2004 21:07:31 +0000 Subject: [PATCH] activate the memcpy special case for the byte aligned case in ff_copy_bits(), wasnt working before because of a incorrectly used pbBufPtr() Originally committed as revision 2775 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/mpegvideo.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index dfb4dd4850..6c483dcc81 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -3738,13 +3738,13 @@ void ff_copy_bits(PutBitContext *pb, uint8_t *src, int length) if(length==0) return; -// if(put_bits_count(pb)&7){ //FIXME + if(put_bits_count(pb)&7){ for(i=0; i>(16-bits)); }