version update, color_space/range tweak, lv2 build fixes
[goodguy/cinelerra.git] / cinelerra-5.1 / thirdparty / src / ffmpeg-4.2.patch8
1 --- a/libavformat/mpegenc.c     2019-08-05 14:52:21.000000000 -0600
2 +++ /blibavformat/mpegenc.c     2019-11-14 14:07:57.407883232 -0700
3 @@ -981,9 +981,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);