[FFmpeg-trac] #5242(ffmpeg:new): ffmpeg always put to log command line strings

FFmpeg trac at avcodec.org
Thu Feb 18 12:46:30 CET 2016


#5242: ffmpeg always put to log command line strings
-------------------------------------+----------------------------------
             Reporter:  Alexufo      |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  ffmpeg
              Version:  unspecified  |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+----------------------------------

Comment (by Alexufo):

 {{{
 idx = locate_option(argc, argv, options, "report");
     if ((env = getenv("FFREPORT")) || idx) {
         init_report(env);

         if (report_file) {
             int i;
             fprintf(report_file, "Command line:\n");
             for (i = 0; i < argc; i++) {
                 dump_argument(argv[i]);
                 fputc(i < argc - 1 ? ' ' : '\n', report_file);
             }
             fflush(report_file);
         }
     }
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5242#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list