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

vectronic hello.vectronic at gmail.com
Mon May 4 19:24:28 EEST 2020


Indent

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

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);
                 }
             }
-- 
2.24.2 (Apple Git-127)



More information about the ffmpeg-devel mailing list