Revision ffcc6e24 ffmpeg.c

View differences:

ffmpeg.c
353 353

  
354 354
    signal(SIGINT , sigterm_handler); /* Interrupt (ANSI).  */
355 355
    signal(SIGTERM, sigterm_handler); /* Termination (ANSI).  */
356
#ifdef SIGXCPU
357
    signal(SIGXCPU, sigterm_handler);
358
#endif
359

  
356 360
    /*
357 361
    register a function to be called at normal program termination
358 362
    */
......
3863 3867
    { "dframes", OPT_INT | HAS_ARG, {(void*)&max_frames[CODEC_TYPE_DATA]}, "set the number of data frames to record", "number" },
3864 3868
    { "benchmark", OPT_BOOL | OPT_EXPERT, {(void*)&do_benchmark},
3865 3869
      "add timings for benchmarking" },
3870
    { "timelimit", OPT_FUNC2 | HAS_ARG, {(void*)opt_timelimit}, "set max runtime in seconds", "limit" },
3866 3871
    { "dump", OPT_BOOL | OPT_EXPERT, {(void*)&do_pkt_dump},
3867 3872
      "dump each input packet" },
3868 3873
    { "hex", OPT_BOOL | OPT_EXPERT, {(void*)&do_hex_dump},

Also available in: Unified diff