update SVT-AV1 to latest version of 2.3.0 from 2.2.1
[goodguy/cinelerra.git] / cinelerra-5.1 / thirdparty / src / ffmpeg-6.1.patch9
1 --- a/libavformat/mpegenc.c
2 +++ b/libavformat/mpegenc.c
3 @@ -987,9 +987,9 @@
4          PacketDesc *pkt_desc;
5  
6          while ((pkt_desc = stream->predecode_packet) &&
7 +               pkt_desc != stream->premux_packet &&
8                 scr > pkt_desc->dts) { // FIXME: > vs >=
9 -            if (stream->buffer_index < pkt_desc->size ||
10 -                stream->predecode_packet == stream->premux_packet) {
11 +            if (stream->buffer_index < pkt_desc->size) {
12                  av_log(ctx, AV_LOG_ERROR,
13                         "buffer underflow st=%d bufi=%d size=%d\n",
14                         i, stream->buffer_index, pkt_desc->size);