X-Git-Url: https://cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fthirdparty%2Fsrc%2Fffmpeg-4.3.patch8;fp=cinelerra-5.1%2Fthirdparty%2Fsrc%2Fffmpeg-4.3.patch8;h=83729627782a13f294be988c1927abf7a1282ede;hb=d830901b11606a7838791bc45e39130329db99f0;hp=0000000000000000000000000000000000000000;hpb=fa27f905f12b15ae84eb1b3ffcd12e09d6d02660;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/thirdparty/src/ffmpeg-4.3.patch8 b/cinelerra-5.1/thirdparty/src/ffmpeg-4.3.patch8 new file mode 100644 index 00000000..83729627 --- /dev/null +++ b/cinelerra-5.1/thirdparty/src/ffmpeg-4.3.patch8 @@ -0,0 +1,15 @@ +diff -ruN a/libavformat/mpegenc.c b/libavformat/mpegenc.c +--- a/libavformat/mpegenc.c 2020-07-10 09:26:57.257744879 -0600 ++++ b/libavformat/mpegenc.c 2020-07-10 09:27:14.528745779 -0600 +@@ -976,9 +976,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);