anchor.diff:            io_lib:format(
               "#EXTM3U~n#EXT-X-TARGETDURATION:~p~n#EXT-X-VERSION:3~n#EXT-X-MEDIA-SEQUENCE:0~n#EXT-X-PLAYLIST-TYPE:VOD~n~s~n#EXT-X-ENDLIST",
               [
  -             ceil(MaxDuration),
  +             math_ceil(MaxDuration),
                string:join(segments(Segments), "\n")
               ])));
       Other ->
  
positive.code:       lists:flatten(io_lib:format(F, []))
    end.
  
  -ifdef(TEST).
  vice_prv_subs_writer_internal_test_() ->
    {setup,
  
negative.code:   {From0, Duration0} = case {Repeat, PreviousCue} of
                                  {true, #{duration := #{duration := ExtraDuration, id := ID}}} ->
                                    {ID,
                                     Duration + math_ceil(ExtraDuration)};
                                  _ ->
                                    {From, Duration}
                                end,
  