Revision 268fc082

View differences:

libavformat/mpeg.c
1033 1033
        while(pkt_desc && scr > pkt_desc->dts){ //FIXME > vs >=
1034 1034
            if(stream->buffer_index < pkt_desc->size ||
1035 1035
               stream->predecode_packet == stream->premux_packet){
1036
                av_log(ctx, AV_LOG_ERROR, "buffer underflow\n");
1036
                av_log(ctx, AV_LOG_ERROR,
1037
                       "buffer underflow i=%d bufi=%d size=%d\n",
1038
                       i, stream->buffer_index, pkt_desc->size);
1037 1039
                break;
1038 1040
            }
1039 1041
            stream->buffer_index -= pkt_desc->size;

Also available in: Unified diff