[FFmpeg-devel] [PATCH] ffplay: extend doxy for audio_decode_frame()
Marton Balint
cus at passwd.hu
Sat Feb 2 00:01:03 CET 2013
On Fri, 1 Feb 2013, Stefano Sabatini wrote:
> ---
> ffplay.c | 8 +++++++-
> 1 file changed, 7 insertions(+), 1 deletion(-)
>
> diff --git a/ffplay.c b/ffplay.c
> index 822fc98..f5acbca 100644
> --- a/ffplay.c
> +++ b/ffplay.c
> @@ -2066,7 +2066,13 @@ static int synchronize_audio(VideoState *is, int nb_samples)
> return wanted_nb_samples;
> }
>
> -/* decode one audio frame and returns its uncompressed size */
> +/**
> + * Decode one audio frame and return its uncompressed size.
> + *
> + * The processed audio frame is decoded, converted if required, and
> + * stored in is->audio_buf, with size in bytes given by the return
> + * value.
> + */
> static int audio_decode_frame(VideoState *is, double *pts_ptr)
> {
> AVPacket *pkt_temp = &is->audio_pkt_temp;
LGTM, thanks.
Marton
More information about the ffmpeg-devel
mailing list