Revision 0871ae1a libavformat/mpegenc.c

View differences:

libavformat/mpegenc.c
913 913
        }
914 914

  
915 915
        /* output data */
916
        if(av_fifo_generic_read(&stream->fifo, payload_size - stuffing_size, &put_buffer, ctx->pb) < 0)
917
            return -1;
916
        assert(payload_size - stuffing_size <= av_fifo_size(&stream->fifo));
917
        av_fifo_generic_read(&stream->fifo, payload_size - stuffing_size, &put_buffer, ctx->pb);
918 918
        stream->bytes_to_iframe -= payload_size - stuffing_size;
919 919
    }else{
920 920
        payload_size=

Also available in: Unified diff