summaryrefslogtreecommitdiff
path: root/ffplay.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-06-28 23:46:20 +0200
committerStefano Sabatini <stefasab@gmail.com>2013-02-02 15:32:34 +0100
commit6032a1c977cc266cc49e1768024dfc87180dbea2 (patch)
tree6977b1fc3b0af34912ac0ccbfc1e7f56491c676d /ffplay.c
parent55910e18948dcf3efb251887ec92449850929892 (diff)
ffplay: extend doxy for audio_decode_frame()
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/ffplay.c b/ffplay.c
index 93090ad60b..0f7b984576 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;