Message ID | 1471283270-28195-5-git-send-email-carlos@ccextractor.org |
---|---|
State | Superseded |
Headers | show |
Carlos Fernandez Sanz <carlos@ccextractor.org>于2016年8月16日 周二上午1:48写道: > From: Carlos Fernandez <carlos@ccextractor.org> > > Signed-off-by: Carlos Fernandez <carlos@ccextractor.org> > --- > libavformat/hlsenc.c | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c > index 7c90157..a73c50d 100644 > --- a/libavformat/hlsenc.c > +++ b/libavformat/hlsenc.c > @@ -360,12 +360,12 @@ static int hls_append_segment(struct AVFormatContext > *s, HLSContext *hls, double > else > en->sub_filename[0] = '\0'; > > - en->duration = duration; > - en->pos = pos; > - en->event = event; > - en->size = size; > + en->duration = duration; > + en->pos = pos; > + en->event = event; > + en->size = size; > en->start_pts = start_pts; > - en->next = NULL; > + en->next = NULL; > > if (hls->scte_iface) { > if (hls->scte_iface->event_state == EVENT_OUT_CONT) { > -- > 2.7.4 > > _______________________________________________ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-devel > What dose this patch do?
On Mon, Aug 15, 2016 at 2:33 PM, Steven Liu <lingjiujianke@gmail.com> wrote:
> What dose this patch do?
Addresses Michael's comment on the previous version:
"this reindention is inconsistent, also you can if you like keep
reindentions in a seperate patch. But if done they should be consistent"
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 7c90157..a73c50d 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -360,12 +360,12 @@ static int hls_append_segment(struct AVFormatContext *s, HLSContext *hls, double else en->sub_filename[0] = '\0'; - en->duration = duration; - en->pos = pos; - en->event = event; - en->size = size; + en->duration = duration; + en->pos = pos; + en->event = event; + en->size = size; en->start_pts = start_pts; - en->next = NULL; + en->next = NULL; if (hls->scte_iface) { if (hls->scte_iface->event_state == EVENT_OUT_CONT) {