diff options
author | Kanglin <kl222@126.com> | 2012-12-29 11:44:33 +0100 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2012-12-29 17:26:30 +0100 |
commit | 0d8cc7a3b223fe23db87189f2410e624e672b66e (patch) | |
tree | 1b17d8b4473f2b10e27f9cc2def6d6ac9474ce1e | |
parent | 0448f26c97c5ab4858d31e456a4f1738ae783242 (diff) | |
download | ffmpeg-0d8cc7a3b223fe23db87189f2410e624e672b66e.tar.gz |
hlsenc: use the correct AV_TIME_BASE macro
recording_time is in AV_TIME_BASE units.
-rw-r--r-- | libavformat/hlsenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 39e8df96ab..71c0c34681 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -187,7 +187,7 @@ static int hls_write_header(AVFormatContext *s) hls->number = 0; - hls->recording_time = hls->time * 1000000; + hls->recording_time = hls->time * AV_TIME_BASE; hls->start_pts = AV_NOPTS_VALUE; for (i = 0; i < s->nb_streams; i++) |