X-Git-Url: https://cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fthirdparty%2Fsrc%2Fffmpeg-4.2.patch8;fp=cinelerra-5.1%2Fthirdparty%2Fsrc%2Fffmpeg-4.2.patch8;h=9518ad75d2fc2e0135d8152d79b6bc575db4cb0c;hb=03fa86e6dc495f9444ae14dad401b1ad6de793fe;hp=0000000000000000000000000000000000000000;hpb=0e16112661802284c0d2c9eb8d1df84141125e91;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/thirdparty/src/ffmpeg-4.2.patch8 b/cinelerra-5.1/thirdparty/src/ffmpeg-4.2.patch8 new file mode 100644 index 00000000..9518ad75 --- /dev/null +++ b/cinelerra-5.1/thirdparty/src/ffmpeg-4.2.patch8 @@ -0,0 +1,14 @@ +--- a/libavformat/mpegenc.c 2019-08-05 14:52:21.000000000 -0600 ++++ /blibavformat/mpegenc.c 2019-11-14 14:07:57.407883232 -0700 +@@ -981,9 +981,9 @@ + PacketDesc *pkt_desc; + + while ((pkt_desc = stream->predecode_packet) && ++ pkt_desc != stream->premux_packet && + scr > pkt_desc->dts) { // FIXME: > vs >= +- if (stream->buffer_index < pkt_desc->size || +- stream->predecode_packet == stream->premux_packet) { ++ if (stream->buffer_index < pkt_desc->size) { + av_log(ctx, AV_LOG_ERROR, + "buffer underflow st=%d bufi=%d size=%d\n", + i, stream->buffer_index, pkt_desc->size);