提交 467e9d61 编写于 作者: N Nicolas Martyanoff 提交者: Michael Niedermayer

avformat/hlsenc: add some empty lines to make the code easier to read

Signed-off-by: NMichael Niedermayer <michaelni@gmx.at>
上级 706fcffc
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册