summaryrefslogtreecommitdiff
path: root/libavformat/hlsenc.c
diff options
context:
space:
mode:
authorNicolas Martyanoff <khaelin@gmail.com>2014-07-18 10:57:42 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-07-31 00:33:49 +0200
commit467e9d618685212d5b8d8f0c71d7b459ce6cc3a2 (patch)
treef51c9908ce9b6f8b2db1213b3c65ecb106a2c26b /libavformat/hlsenc.c
parent706fcffce138df5fa5cf28b11c773bc91ee03965 (diff)
avformat/hlsenc: add some empty lines to make the code easier to read
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/hlsenc.c')
-rw-r--r--libavformat/hlsenc.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c
index 881c284eec..11f1e5be42 100644
--- a/libavformat/hlsenc.c
+++ b/libavformat/hlsenc.c
@@ -34,6 +34,7 @@
typedef struct HLSSegment {
char filename[1024];
double duration; /* in seconds */
+
struct HLSSegment *next;
} HLSSegment;
@@ -43,20 +44,26 @@ typedef struct HLSContext {
int64_t sequence;
int64_t start_sequence;
AVOutputFormat *oformat;
+
AVFormatContext *avf;
+
float time; // Set by a private option.
int max_nb_segments; // Set by a private option.
int wrap; // Set by a private option.
+
int64_t recording_time;
int has_video;
int64_t start_pts;
int64_t end_pts;
double duration; // last segment duration computed so far, in seconds
int nb_entries;
+
HLSSegment *segments;
HLSSegment *last_segment;
+
char *basename;
char *baseurl;
+
AVIOContext *pb;
} HLSContext;