1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Nicolas Martyanoff 2014-07-18 10:57:42 +02:00 committed by Michael Niedermayer
parent 706fcffce1
commit 467e9d6186

View File

@ -34,6 +34,7 @@
typedef struct HLSSegment { typedef struct HLSSegment {
char filename[1024]; char filename[1024];
double duration; /* in seconds */ double duration; /* in seconds */
struct HLSSegment *next; struct HLSSegment *next;
} HLSSegment; } HLSSegment;
@ -43,20 +44,26 @@ typedef struct HLSContext {
int64_t sequence; int64_t sequence;
int64_t start_sequence; int64_t start_sequence;
AVOutputFormat *oformat; AVOutputFormat *oformat;
AVFormatContext *avf; AVFormatContext *avf;
float time; // Set by a private option. float time; // Set by a private option.
int max_nb_segments; // Set by a private option. int max_nb_segments; // Set by a private option.
int wrap; // Set by a private option. int wrap; // Set by a private option.
int64_t recording_time; int64_t recording_time;
int has_video; int has_video;
int64_t start_pts; int64_t start_pts;
int64_t end_pts; int64_t end_pts;
double duration; // last segment duration computed so far, in seconds double duration; // last segment duration computed so far, in seconds
int nb_entries; int nb_entries;
HLSSegment *segments; HLSSegment *segments;
HLSSegment *last_segment; HLSSegment *last_segment;
char *basename; char *basename;
char *baseurl; char *baseurl;
AVIOContext *pb; AVIOContext *pb;
} HLSContext; } HLSContext;