[FFmpeg-devel] [PATCH] document and implement buffer padding with CODEC_CAP_SMALL_LAST_FRAME

Justin Ruggles justin.ruggles
Mon Aug 23 23:49:57 CEST 2010


Hi,

For audio encoders that can handle a small last frame, the user still
needs to supply a full frame of valid samples, padded with either zeros
or some other meaningful data.  This is because some codecs have fixed
frame sizes, and if CODEC_CAP_SMALL_LAST_FRAME is set then padding is
preferable to truncation.

Thanks,
Justin


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: small_last_frame_buffer_padding.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100823/a0576f50/attachment.asc>



More information about the ffmpeg-devel mailing list