[FFmpeg-devel] About swr_convert_frame of FFmpeg 3.2 Release

He Lei helei0908 at hotmail.com
Wed Nov 23 05:20:02 EET 2016

I convert audio frame from s16p to s16 used swr_convert_frame; I found the out_frame ->linesize[0] is more then in_frame;
After view the code,  I don’t get it ; At lines 144 of file swr_convert_frame.c, Why to add 3 when calculated nb_samples?

More information about the ffmpeg-devel mailing list