As usual, as soon as i decide to ask the question, i find the answer.

Le 13/02/2014 10:17, Florian Iragne a écrit :
int nb_samples = avresample_convert(avr, oframe->data, oframe->linesize[0], oframe->nb_samples, frame->data, frame->linesize[0], frame->nb_samples);

here, i must add: oframe->nb_samples = nb_samples; To handle the real number of output frames!

anyway, i hope this might help someone

Florian
_______________________________________________
libav-api mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-api

Reply via email to