I have trouble understanding what the following line in muxing.c does:


      /* compute destination number of samples */
dst_nb_samples = av_rescale_rnd(swr_get_delay(swr_ctx, c->sample_rate) + src_nb_samples, c->sample_rate, c->sample_rate, AV_ROUND_UP);


I was always expecting that:

dst_nb_samples = src_nb_samples;

Can someone explain to me why the above is needed?
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to