Signed-off-by: Nicolas George <[email protected]>
---
ffmpeg.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
It seems more logical, and the next patch does not work without.
diff --git a/ffmpeg.c b/ffmpeg.c
index 9a14294..1887946 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -4306,8 +4306,6 @@ int main(int argc, char **argv)
show_banner(argc, argv, options);
- term_init();
-
/* parse options and open all input/output files */
ret = ffmpeg_parse_options(argc, argv);
if (ret < 0)
@@ -4330,6 +4328,8 @@ int main(int argc, char **argv)
// exit_program(1);
// }
+ term_init();
+
current_time = ti = getutime();
if (transcode() < 0)
exit_program(1);
--
2.7.0
_______________________________________________
ffmpeg-devel mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel