update copyright headers of the recently updated files

development
Taner Sener 1 year ago
parent fb99d7466c
commit fabab45e91
  1. 1
      android/ffmpeg-kit-android-lib/src/main/cpp/ffmpegkit.c
  2. 2
      android/ffmpeg-kit-android-lib/src/main/cpp/fftools_ffmpeg_demux.c
  3. 2
      android/ffmpeg-kit-android-lib/src/main/cpp/fftools_ffmpeg_mux_init.c
  4. 2
      android/ffmpeg-kit-android-lib/src/main/cpp/fftools_ffprobe.c
  5. 1
      android/ffmpeg-kit-android-lib/src/main/java/com/arthenica/ffmpegkit/FFmpegKitConfig.java
  6. 1
      android/ffmpeg-kit-android-lib/src/test/java/com/arthenica/ffmpegkit/FFmpegKitConfigTest.java
  7. 2
      apple/src/fftools_ffmpeg_demux.c
  8. 2
      apple/src/fftools_ffmpeg_mux_init.c
  9. 2
      apple/src/fftools_ffprobe.c
  10. 2
      linux/src/fftools_ffmpeg_demux.c
  11. 2
      linux/src/fftools_ffmpeg_mux_init.c
  12. 22
      linux/src/fftools_ffprobe.c

@ -1,5 +1,6 @@
/*
* Copyright (c) 2018-2021 Taner Sener
* Copyright (c) 2024 ARTHENICA LTD
*
* This file is part of FFmpegKit.
*

@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 ARTHENICA LTD
* Copyright (c) 2023-2024 ARTHENICA LTD
*
* This file is part of FFmpeg.
*

@ -1,6 +1,6 @@
/*
* Muxer/output file setup.
* Copyright (c) 2023 ARTHENICA LTD
* Copyright (c) 2023-2024 ARTHENICA LTD
*
* This file is part of FFmpeg.
*

@ -1,7 +1,7 @@
/*
* Copyright (c) 2007-2010 Stefano Sabatini
* Copyright (c) 2020-2022 Taner Sener
* Copyright (c) 2023 ARTHENICA LTD
* Copyright (c) 2023-2024 ARTHENICA LTD
*
* This file is part of FFmpeg.
*

@ -1,5 +1,6 @@
/*
* Copyright (c) 2018-2022 Taner Sener
* Copyright (c) 2024 ARTHENICA LTD
*
* This file is part of FFmpegKit.
*

@ -1,5 +1,6 @@
/*
* Copyright (c) 2018-2021 Taner Sener
* Copyright (c) 2024 ARTHENICA LTD
*
* This file is part of FFmpegKit.
*

@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 ARTHENICA LTD
* Copyright (c) 2023-2024 ARTHENICA LTD
*
* This file is part of FFmpeg.
*

@ -1,6 +1,6 @@
/*
* Muxer/output file setup.
* Copyright (c) 2023 ARTHENICA LTD
* Copyright (c) 2023-2024 ARTHENICA LTD
*
* This file is part of FFmpeg.
*

@ -1,7 +1,7 @@
/*
* Copyright (c) 2007-2010 Stefano Sabatini
* Copyright (c) 2020-2022 Taner Sener
* Copyright (c) 2023 ARTHENICA LTD
* Copyright (c) 2023-2024 ARTHENICA LTD
*
* This file is part of FFmpeg.
*

@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 ARTHENICA LTD
* Copyright (c) 2023-2024 ARTHENICA LTD
*
* This file is part of FFmpeg.
*

@ -1,6 +1,6 @@
/*
* Muxer/output file setup.
* Copyright (c) 2023 ARTHENICA LTD
* Copyright (c) 2023-2024 ARTHENICA LTD
*
* This file is part of FFmpeg.
*

@ -1,7 +1,7 @@
/*
* Copyright (c) 2007-2010 Stefano Sabatini
* Copyright (c) 2020-2022 Taner Sener
* Copyright (c) 2023 ARTHENICA LTD
* Copyright (c) 2023-2024 ARTHENICA LTD
*
* This file is part of FFmpeg.
*
@ -3383,8 +3383,10 @@ static int open_input_file(InputFile *ifile, const char *filename,
av_dump_format(fmt_ctx, 0, filename, 0);
ifile->streams = av_calloc(fmt_ctx->nb_streams, sizeof(*ifile->streams));
if (!ifile->streams)
exit(1);
if (!ifile->streams) {
av_log(NULL, AV_LOG_ERROR, "Cannot allocate memory\n");
exit_program(1);
}
ifile->nb_streams = fmt_ctx->nb_streams;
/* bind a decoder to each input stream */
@ -3414,12 +3416,16 @@ static int open_input_file(InputFile *ifile, const char *filename,
fmt_ctx, stream, codec);
ist->dec_ctx = avcodec_alloc_context3(codec);
if (!ist->dec_ctx)
exit(1);
if (!ist->dec_ctx) {
av_log(NULL, AV_LOG_ERROR, "Cannot allocate an AVCodecContext\n");
exit_program(1);
}
err = avcodec_parameters_to_context(ist->dec_ctx, stream->codecpar);
if (err < 0)
exit(1);
if (err < 0) {
av_log(NULL, AV_LOG_ERROR, "Cannot fill the codec context\n");
exit_program(1);
}
if (do_show_log) {
// For loging it is needed to disable at least frame threads as otherwise
@ -3433,7 +3439,7 @@ static int open_input_file(InputFile *ifile, const char *filename,
if (avcodec_open2(ist->dec_ctx, codec, &opts) < 0) {
av_log(NULL, AV_LOG_WARNING, "Could not open codec for input stream %d\n",
stream->index);
exit(1);
exit_program(1);
}
if ((t = av_dict_get(opts, "", NULL, AV_DICT_IGNORE_SUFFIX))) {

Loading…
Cancel
Save