summaryrefslogtreecommitdiff
path: root/libavcodec/ffv1.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-04-24 23:28:37 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-04-24 23:29:09 +0200
commitfe5bc46f60c0ebd82593999520ebff1d230b0483 (patch)
tree11ed079586965d7b3f7e44137d13c914daa38399 /libavcodec/ffv1.c
parent31581603349e09ddf8a63691e3852d10e47f79a7 (diff)
ffv1: support vlc mode in 1.3
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/ffv1.c')
-rw-r--r--libavcodec/ffv1.c2
1 files changed, 1 insertions, 1 deletions
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;