diff mbox series

[FFmpeg-devel,2/2] avformat movenc add flag to disable silent limit on timescale

Message ID 20200504162428.85535-3-hello.vectronic@gmail.com
State New
Headers show
Series avformat movenc add flag to allow disabling limit on timescale | expand

Checks

Context Check Description
andriy/default pending
andriy/make success Make finished
andriy/make_fate success Make fate finished

Commit Message

vectronic May 4, 2020, 4:24 p.m. UTC
Indent

Signed-off-by: vectronic <hello.vectronic@gmail.com>
---
 libavformat/movenc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 143b00063d..ec7e95e838 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -6462,8 +6462,8 @@  static int mov_init(AVFormatContext *s)
             } else {
                 track->timescale = st->time_base.den;
                 if (!(mov->flags & FF_MOV_FLAG_ALLOW_SMALL_TSCALE)) {
-                while(track->timescale < 10000)
-                    track->timescale *= 2;
+                    while(track->timescale < 10000)
+                        track->timescale *= 2;
                     av_log(s, AV_LOG_DEBUG, "track timescale was less than 10000, it has been forced to %d\n", track->timescale);
                 }
             }