Andrew mod to ignore opus extras + title plugin X11 RGBA-FLOAT fix
[goodguy/cinelerra.git] / cinelerra-5.1 / thirdparty / src / ffmpeg-4.3.patch8
1 diff -ruN a/libavformat/mpegenc.c b/libavformat/mpegenc.c
2 --- a/libavformat/mpegenc.c     2020-07-10 09:26:57.257744879 -0600
3 +++ b/libavformat/mpegenc.c     2020-07-10 09:27:14.528745779 -0600
4 @@ -976,9 +976,9 @@
5          PacketDesc *pkt_desc;
6  
7          while ((pkt_desc = stream->predecode_packet) &&
8 +               pkt_desc != stream->premux_packet &&
9                 scr > pkt_desc->dts) { // FIXME: > vs >=
10 -            if (stream->buffer_index < pkt_desc->size ||
11 -                stream->predecode_packet == stream->premux_packet) {
12 +            if (stream->buffer_index < pkt_desc->size) {
13                  av_log(ctx, AV_LOG_ERROR,
14                         "buffer underflow st=%d bufi=%d size=%d\n",
15                         i, stream->buffer_index, pkt_desc->size);