[FFmpeg-devel] [PATCH 1/3] Fix computation of vs->start_pos

Michael Niedermayer michael at niedermayer.cc
Tue Feb 13 14:21:56 EET 2018


On Mon, Feb 12, 2018 at 02:23:07PM +0530, Amit Kale wrote:
> Reset vs->start_pos when beginning a new file.
> ---
>  libavformat/hlsenc.c | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c
> index cc13c94e97..9970c4c575 100644
> --- a/libavformat/hlsenc.c
> +++ b/libavformat/hlsenc.c
> @@ -2227,7 +2227,10 @@ static int hls_write_packet(AVFormatContext *s,
> AVPacket *pkt)
>              ff_format_io_close(s, &vs->out);
>          }
>          ret = hls_append_segment(s, hls, vs, vs->duration, vs->start_pos,
> vs->size);
> -        vs->start_pos = new_start_pos;

This patch is corrupted by a line break

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In a rich man's house there is no place to spit but his face.
-- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180213/60a1896a/attachment.sig>


More information about the ffmpeg-devel mailing list