mirror of https://git.ffmpeg.org/ffmpeg.git
ffv1: support vlc mode in 1.3
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
3158160334
commit
fe5bc46f60
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue