[FFmpeg-cvslog] avformat/hlsenc: add some empty lines to make the code easier to read
Nicolas Martyanoff
git at videolan.org
Thu Jul 31 00:44:26 CEST 2014
ffmpeg | branch: master | Nicolas Martyanoff <khaelin at gmail.com> | Fri Jul 18 10:57:42 2014 +0200| [467e9d618685212d5b8d8f0c71d7b459ce6cc3a2] | committer: Michael Niedermayer
avformat/hlsenc: add some empty lines to make the code easier to read
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=467e9d618685212d5b8d8f0c71d7b459ce6cc3a2
---
libavformat/hlsenc.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c
index 881c284..11f1e5b 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;
More information about the ffmpeg-cvslog
mailing list