You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
ffv1: support vlc mode in 1.3
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -1292,7 +1292,7 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt,
|
|||||||
}
|
}
|
||||||
if(i>0){
|
if(i>0){
|
||||||
av_assert0(bytes < pkt->size/f->slice_count);
|
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_assert0(bytes < (1<<24));
|
||||||
AV_WB24(buf_p+bytes, bytes);
|
AV_WB24(buf_p+bytes, bytes);
|
||||||
bytes+=3;
|
bytes+=3;
|
||||||
|
Reference in New Issue
Block a user