Commit fe5bc46f authored by Michael Niedermayer's avatar Michael Niedermayer

ffv1: support vlc mode in 1.3

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 31581603
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment