Browse Source

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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.4
Nicolas Martyanoff Michael Niedermayer 11 years ago
parent
commit
467e9d6186
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      libavformat/hlsenc.c

+ 7
- 0
libavformat/hlsenc.c View File

@@ -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;



Loading…
Cancel
Save