Commit 58f9972e authored by diego's avatar diego

Clarify avcodec_encode_audio() vs. PCM audio.

patch by Stefano Sabatini, stefano.sabatini-lala poste it


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13445 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 4f0862af
......@@ -2750,6 +2750,8 @@ int avcodec_parse_frame(AVCodecContext *avctx, uint8_t **pdata,
* @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.
*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment