FFmpeg git repo
Go to file
Nicolas Martyanoff 6cc1fec412 avformat/hlsenc: correctly compute target duration
With HLS, the duration of all segments must be lower or equal to the target
duration. Therefore floor(duration + 0.5) yields incorrect results.

For example, for duration = 1.35, floor(duration + 0.5) yields 1.0, but the
correct result is 2.0.

Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>
2014-07-10 01:31:04 +03:00
compat
doc Merge commit 'a54f03bf07da964a1b04b03b85bc39deba76efa4' 2014-07-09 23:57:20 +02:00
libavcodec avcodec/hevc_sei: factor return 1 out of if/else chain 2014-07-10 00:19:49 +02:00
libavdevice avdevice/pulse_audio_dec: reimplement using the non simple API 2014-07-09 01:36:01 +02:00
libavfilter Merge commit 'd3cfd7aff86ee3d449ca68aba21d67b9b2136a9b' 2014-07-08 13:48:26 +02:00
libavformat avformat/hlsenc: correctly compute target duration 2014-07-10 01:31:04 +03:00
libavresample
libavutil Merge commit 'a54f03bf07da964a1b04b03b85bc39deba76efa4' 2014-07-09 23:57:20 +02:00
libpostproc
libswresample swresample: misc. doxy improvements 2014-07-08 01:36:56 +02:00
libswscale
presets
tests avcodec/roqvideo: use JPEG color range 2014-07-06 23:34:58 +02:00
tools tools/yuvcmp: add HAVE_UNISTD_H around #include <unistd.h> 2014-07-08 01:56:33 +02:00
.gitignore
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
Changelog
INSTALL.md
LICENSE.md
MAINTAINERS
Makefile
README.md
RELEASE
arch.mak
cmdutils.c
cmdutils.h
cmdutils_common_opts.h
cmdutils_opencl.c
common.mak
configure Merge commit 'f6ee61fb05482c617f5deee29a190d8ff483b3d1' 2014-07-09 22:27:07 +02:00
ffmpeg.c ffmpeg: remove common factors from copied timebase 2014-07-09 21:51:31 +02:00
ffmpeg.h
ffmpeg_dxva2.c
ffmpeg_filter.c
ffmpeg_opt.c
ffmpeg_vda.c
ffmpeg_vdpau.c
ffplay.c
ffprobe.c
ffserver.c ffserver: add HAVE_UNISTD_H around #include <unistd.h> 2014-07-08 01:56:53 +02:00
library.mak
version.sh

README.md

FFmpeg README

  1. Documentation

  1. Licensing

  • See the LICENSE file.
  1. Build and Install

  • See the INSTALL file.