[FFmpeg-cvslog] r13445 - trunk/libavcodec/avcodec.h

diego subversion
Tue May 27 01:19:26 CEST 2008


Author: diego
Date: Tue May 27 01:19:26 2008
New Revision: 13445

Log:
Clarify avcodec_encode_audio() vs. PCM audio.
patch by Stefano Sabatini, stefano.sabatini-lala poste it


Modified:
   trunk/libavcodec/avcodec.h

Modified: trunk/libavcodec/avcodec.h
==============================================================================
--- trunk/libavcodec/avcodec.h	(original)
+++ trunk/libavcodec/avcodec.h	Tue May 27 01:19:26 2008
@@ -2750,6 +2750,8 @@ int avcodec_parse_frame(AVCodecContext *
  * @param[in] samples the input buffer containing the samples
  * The number of samples read from this buffer is frame_size*channels,
  * both of which are defined in \p avctx.
+ * For PCM audio the number of samples read from \p samples is equal to
+ * \p buf_size * input_sample_size / output_sample_size.
  * @return On error a negative value is returned, on success zero or the number
  * of bytes used to encode the data read from the input buffer.
  */




More information about the ffmpeg-cvslog mailing list