if (!s->buffer || s->buffer_size - s->buffer_index < BUFFER_SIZE) {
int new_size = s->buffer_index + 2 * BUFFER_SIZE, err;
- av_dlog(s->avctx, "resizing output buffer: %d -> %d\n", s->buffer_size,
+ ff_dlog(s->avctx, "resizing output buffer: %d -> %d\n", s->buffer_size,
new_size);
if ((err = av_reallocp(&s->buffer, new_size)) < 0) {
s->buffer_size = s->buffer_index = 0;
return -1;
}
len = hdr.frame_size;
- av_dlog(avctx, "in:%d packet-len:%d index:%d\n", avctx->frame_size, len,
+ ff_dlog(avctx, "in:%d packet-len:%d index:%d\n", avctx->frame_size, len,
s->buffer_index);
if (len <= s->buffer_index) {
if ((ret = ff_alloc_packet2(avctx, avpkt, len)) < 0)