From fe5bc46f60c0ebd82593999520ebff1d230b0483 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 24 Apr 2012 23:28:37 +0200 Subject: [PATCH] ffv1: support vlc mode in 1.3 Signed-off-by: Michael Niedermayer --- libavcodec/ffv1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/ffv1.c b/libavcodec/ffv1.c index 2dc5bc23e6..8680e76105 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;