On Fri, Nov 11, 2016 at 10:13:43AM +0100, Robert Nagy wrote:
> Fixes https://trac.ffmpeg.org/ticket/5940#ticket
> 
> ---
>  libavformat/hlsenc.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c
> index 9ca2df7..80a598a 100644
> --- a/libavformat/hlsenc.c
> +++ b/libavformat/hlsenc.c
> @@ -183,6 +183,7 @@ static int hls_delete_old_segments(HLSContext *hls) {
>      segment = hls->old_segments;
>      while (segment) {
>          playlist_duration -= segment->duration;
> +        initial_prog_date_time += segment->duration;

src/libavformat/hlsenc.c: In function ‘hls_delete_old_segments’:
src/libavformat/hlsenc.c:186:9: error: ‘initial_prog_date_time’ undeclared 
(first use in this function)
src/libavformat/hlsenc.c:186:9: note: each undeclared identifier is reported 
only once for each function it appears in


[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety -- Benjamin Franklin

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to