diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-04-24 23:28:37 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-04-24 23:29:09 +0200 |
commit | fe5bc46f60c0ebd82593999520ebff1d230b0483 (patch) | |
tree | 11ed079586965d7b3f7e44137d13c914daa38399 | |
parent | 31581603349e09ddf8a63691e3852d10e47f79a7 (diff) | |
download | ffmpeg-fe5bc46f60c0ebd82593999520ebff1d230b0483.tar.gz |
ffv1: support vlc mode in 1.3
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/ffv1.c | 2 |
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; |