[FFmpeg-devel] 答复: About swr_convert_frame of FFmpeg 3.2 Release

He Lei helei0908 at hotmail.com
Wed Nov 23 05:36:17 EET 2016


Sorry, File is swresample_frame.c;


发件人: He Lei<mailto:helei0908 at hotmail.com>
发送时间: 2016年11月23日 11:20
收件人: ffmpeg-devel at ffmpeg.org<mailto:ffmpeg-devel at ffmpeg.org>
主题: [FFmpeg-devel] About swr_convert_frame of FFmpeg 3.2 Release

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 swresample_frame.c, Why to add 3 when calculated nb_samples?



_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel



More information about the ffmpeg-devel mailing list