Commit 53f10e03 authored by Nicolas Martyanoff's avatar Nicolas Martyanoff Committed by Michael Niedermayer

avformat/hlsenc: Add some comments to make the code easier to read

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent a99de9ca
......@@ -33,7 +33,7 @@
typedef struct ListEntry {
char name[1024];
double duration;
double duration; /* in seconds */
struct ListEntry *next;
} ListEntry;
......@@ -85,6 +85,7 @@ static int hls_mux_init(AVFormatContext *s)
return 0;
}
/* Create a new segment and append it to the segment list */
static int append_entry(HLSContext *hls, double duration)
{
ListEntry *en = av_malloc(sizeof(*en));
......
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