[FFmpeg-cvslog] ffv1: support vlc mode in 1.3

Michael Niedermayer git at videolan.org
Tue Apr 24 23:49:02 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Apr 24 23:28:37 2012 +0200| [fe5bc46f60c0ebd82593999520ebff1d230b0483] | committer: Michael Niedermayer

ffv1: support vlc mode in 1.3

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fe5bc46f60c0ebd82593999520ebff1d230b0483
---

 libavcodec/ffv1.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/ffv1.c b/libavcodec/ffv1.c
index 2dc5bc2..8680e76 100644
--- a/libavcodec/ffv1.c
+++ b/libavcodec/ffv1.c
@@ -1292,7 +1292,7 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt,
         }
         if(i>0){
             av_assert0(bytes < pkt->size/f->slice_count);
-            memmove(buf_p, fs->ac ? fs->c.bytestream_start : fs->pb.buf, bytes);
+            memmove(buf_p, fs->c.bytestream_start, bytes);
             av_assert0(bytes < (1<<24));
             AV_WB24(buf_p+bytes, bytes);
             bytes+=3;



More information about the ffmpeg-cvslog mailing list