Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reversions from MythTV 923 #12

Closed
wants to merge 36 commits into from
Closed

Commits on Jul 14, 2022

  1. ffmpeg: add option -isync

    This is a per-file input option that adjusts an input's timestamps
    with reference to another input, so that emitted packet timestamps
    account for the difference between the start times of the two inputs.
    
    Typical use case is to sync two or more live inputs such as from capture
    devices. Both the target and reference input source timestamps should be
    based on the same clock source.
    
    If either input lacks starting timestamps, then no sync adjustment is made.
    GyanD committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    b21d387 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2022

  1. Update for 5.1

    Signed-off-by: Michael Niedermayer <[email protected]>
    michaelni committed Jul 16, 2022
    Configuration menu
    Copy the full SHA
    e04cb59 View commit details
    Browse the repository at this point in the history
  2. avcodec/lagarith: Check dst/src in zero run code

    Fixes: out of array access
    Fixes: 48799/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_LAGARITH_fuzzer-4764457825337344
    
    Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Reviewed-by: Paul B Mahol <[email protected]>
    Signed-off-by: Michael Niedermayer <[email protected]>
    (cherry picked from commit 9450f75)
    Signed-off-by: Michael Niedermayer <[email protected]>
    michaelni committed Jul 16, 2022
    Configuration menu
    Copy the full SHA
    2720715 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2022

  1. avdevice/avdevice: fix return value of avdevice_list_devices()

    According to API docs avdevice_list_devices(), avdevice_list_input_sources()
    and avdevice_list_input_sinks() should return the number of autodetected
    devices on success. This is redundant with AVDeviceInfoList->nb_devices so it
    was not noticed earlier that none of the underlying device list functions work
    like that.
    
    Let's fix it in generic code to make it in line with the API docs.
    
    Fixes ticket #9820.
    
    Signed-off-by: Marton Balint <[email protected]>
    (cherry picked from commit 64f04df)
    cus committed Jul 17, 2022
    Configuration menu
    Copy the full SHA
    83feded View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2022

  1. Configuration menu
    Copy the full SHA
    d6a1e59 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2022

  1. RELEASE_NOTES: Based on the version from 5.0

    Name suggested by Leo Izen and Andreas Rheinhardt
    
    LTS text suggested by Martijn van Beurden <[email protected]>
    
    Signed-off-by: Michael Niedermayer <[email protected]>
    michaelni committed Jul 20, 2022
    Configuration menu
    Copy the full SHA
    22878e8 View commit details
    Browse the repository at this point in the history
  2. tools/target_dec_fuzzer: Adjust threshold for MMVIDEO

    Fixes: Timeout
    Fixes: 49003/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MMVIDEO_fuzzer-5550368423018496
    
    Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Reviewed-by: Peter Ross <[email protected]>
    Signed-off-by: Michael Niedermayer <[email protected]>
    (cherry picked from commit 3592b05)
    Signed-off-by: Michael Niedermayer <[email protected]>
    michaelni committed Jul 20, 2022
    Configuration menu
    Copy the full SHA
    cd89480 View commit details
    Browse the repository at this point in the history
  3. avcodec/ffv1dec: consider run increase in minimal golomb frame size

    Fixes: Timeout
    Fixes: 49160/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FFV1_fuzzer-5672826144686080
    
    Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Reviewed-by: James Almer <[email protected]>
    Signed-off-by: Michael Niedermayer <[email protected]>
    (cherry picked from commit 15785e0)
    Signed-off-by: Michael Niedermayer <[email protected]>
    michaelni committed Jul 20, 2022
    Configuration menu
    Copy the full SHA
    288ef19 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2022

  1. avcodec/ffv1dec: Fix AC_GOLOMB_RICE min size check

    Found-by: mkver
    
    Signed-off-by: Michael Niedermayer <[email protected]>
    (cherry picked from commit f7d510b)
    Signed-off-by: Michael Niedermayer <[email protected]>
    michaelni committed Jul 22, 2022
    Configuration menu
    Copy the full SHA
    6a78425 View commit details
    Browse the repository at this point in the history
  2. avcodec/exr: Check x/ysize

    Fixes: OOM
    Fixes: 48911/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_EXR_fuzzer-6352002510094336
    
    Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by: Michael Niedermayer <[email protected]>
    (cherry picked from commit 614a4d1)
    Signed-off-by: Michael Niedermayer <[email protected]>
    michaelni committed Jul 22, 2022
    Configuration menu
    Copy the full SHA
    e95f80c View commit details
    Browse the repository at this point in the history
  3. avformat/asfdec_f: Use 64bit for packet start time

    Fixes: signed integer overflow: 2147483647 + 32 cannot be represented in type 'int'
    Fixes: 49014/clusterfuzz-testcase-minimized-ffmpeg_dem_ASF_fuzzer-6314973315334144
    
    Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by: Michael Niedermayer <[email protected]>
    (cherry picked from commit 8ed7848)
    Signed-off-by: Michael Niedermayer <[email protected]>
    michaelni committed Jul 22, 2022
    Configuration menu
    Copy the full SHA
    1c06f77 View commit details
    Browse the repository at this point in the history
  4. avformat/mov: Check for EOF in mov_read_iloc()

    Fixes: Timeout
    Fixes: 49216/clusterfuzz-testcase-minimized-ffmpeg_IO_DEMUXER_fuzzer-6563000529584128
    
    Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by: Michael Niedermayer <[email protected]>
    (cherry picked from commit 744ad45)
    Signed-off-by: Michael Niedermayer <[email protected]>
    michaelni committed Jul 22, 2022
    Configuration menu
    Copy the full SHA
    e8a5167 View commit details
    Browse the repository at this point in the history
  5. avformat/nutdec: Check get_packetheader() in mainheader

    Fixes; Timeout
    Fixes: 48794/clusterfuzz-testcase-minimized-ffmpeg_dem_NUT_fuzzer-6524604713140224
    
    Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by: Michael Niedermayer <[email protected]>
    (cherry picked from commit b5de084)
    Signed-off-by: Michael Niedermayer <[email protected]>
    michaelni committed Jul 22, 2022
    Configuration menu
    Copy the full SHA
    e6584a3 View commit details
    Browse the repository at this point in the history
  6. avformat/flvdec: Check for EOF in index reading

    Fixes: Timeout
    Fixes: 47992/clusterfuzz-testcase-minimized-ffmpeg_dem_LIVE_FLV_fuzzer-6020443879899136
    
    Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by: Michael Niedermayer <[email protected]>
    (cherry picked from commit ceff5d7)
    Signed-off-by: Michael Niedermayer <[email protected]>
    michaelni committed Jul 22, 2022
    Configuration menu
    Copy the full SHA
    5767941 View commit details
    Browse the repository at this point in the history
  7. avcodec/mss4: Check image size with av_image_check_size2()

    Fixes: Timeout
    Fixes: 48418/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MTS2_fuzzer-4834851466903552
    
    Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by: Michael Niedermayer <[email protected]>
    (cherry picked from commit 4e145f1)
    Signed-off-by: Michael Niedermayer <[email protected]>
    michaelni committed Jul 22, 2022
    Configuration menu
    Copy the full SHA
    fa511b0 View commit details
    Browse the repository at this point in the history
  8. avcodec/tiff: Check tile_length and tile_width

    Fixes: Division by 0
    Fixes: 49235/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TIFF_fuzzer-5495613847896064
    
    Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by: Michael Niedermayer <[email protected]>
    (cherry picked from commit 76112c2)
    Signed-off-by: Michael Niedermayer <[email protected]>
    michaelni committed Jul 22, 2022
    Configuration menu
    Copy the full SHA
    6fbd4d2 View commit details
    Browse the repository at this point in the history
  9. avcodec/hevc_filter: copy_CTB() only within width&height

    Fixes: out of array access
    Fixes: 49271/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HEVC_fuzzer-5424984922652672
    
    Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by: Michael Niedermayer <[email protected]>
    (cherry picked from commit 009ef35)
    Signed-off-by: Michael Niedermayer <[email protected]>
    michaelni committed Jul 22, 2022
    Configuration menu
    Copy the full SHA
    e0723b7 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2022

  1. configure: properly require libx264 if enabled

    When libx264 can not be found even though it is enabled, it should error
    out properly instead of silently disabling it.
    
    (cherry picked from commit 564d794)
    ePirat authored and jeeb committed Jul 24, 2022
    Configuration menu
    Copy the full SHA
    6d83c5f View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2022

  1. avcodec/alac: don't fail if channels aren't set during init() when ex…

    …tradata is valid
    
    The decoder is meant to use it as a fallback if the value in extradata is
    invalid.
    
    Regression since d199099.
    
    Signed-off-by: James Almer <[email protected]>
    jamrial committed Jul 30, 2022
    Configuration menu
    Copy the full SHA
    915ef93 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2022

  1. fate/imf: Rename IMF fate-target

    It conflicts with the name of the test using the testtool
    in libavformat.mak.
    
    Fixes ticket #9841.
    
    Reviewed-by: Pierre-Anthony Lemieux <[email protected]>
    Signed-off-by: Andreas Rheinhardt <[email protected]>
    (cherry picked from commit 3b92311)
    mkver committed Jul 31, 2022
    Configuration menu
    Copy the full SHA
    80d1b89 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2022

  1. tests/fate-run: Allow to skip file checksums for lavf_image

    The output file (even the filesize) of the recently added
    EXR tests depends on the endianness; therefore checksums
    of these files must not be part of the ref file. Therefore
    this commit adds an option (unused for now) to disable these
    checksums on a per-test basis.
    
    In order to avoid having to check twice, the checksum and
    the filesize info are moved to immediately follow one another;
    this results into updates to the ref files of all lavf-image tests.
    
    Signed-off-by: Andreas Rheinhardt <[email protected]>
    (cherry picked from commit 4fb8741)
    mkver committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    17426f8 View commit details
    Browse the repository at this point in the history
  2. fate/lavf-image: Disable file checksums for exr tests

    The generated files are endian-dependent, so no checksums
    may be part of the ref files.
    
    Fixes ticket #9854.
    
    Tested-by: Sebastian Ramacher <[email protected]>
    Signed-off-by: Andreas Rheinhardt <[email protected]>
    (cherry picked from commit fe211ae)
    mkver committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    aba74d7 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2022

  1. avformat/avisynth: use ch_layout.nb_channels for channel count

    Fixes deprecation warning
    
    Signed-off-by: James Almer <[email protected]>
    (cherry picked from commit dc9843d)
    qyot27 authored and jamrial committed Aug 8, 2022
    Configuration menu
    Copy the full SHA
    ffaf606 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2022

  1. avcodec/libspeexdec: Fix use of uninitialized value

    Regression since 97d9a32.
    Fixes Coverity issue #1503072.
    
    Signed-off-by: Andreas Rheinhardt <[email protected]>
    (cherry picked from commit eb608fd)
    mkver committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    1ad802c View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2022

  1. ipfsgateway: Remove default gateway

    A gateway can see everything, and we should not be shipping a hardcoded
    default from a third party company; it's a security risk.
    
    Signed-off-by: Derek Buitenhuis <[email protected]>
    (cherry picked from commit 412922c)
    dwbuiten committed Aug 15, 2022
    Configuration menu
    Copy the full SHA
    8479e2f View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2022

  1. ffprobe: restore reporting error code for failed inputs

    c11fb46 led to a regression whereby the return code for missing
    input or input probe is overridden by writer close return code and
    hence not conveyed in the exit code.
    GyanD committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    4e4cc6e View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2022

  1. swresample/swresample: fill the correct buffer to print the output la…

    …yout string
    
    Signed-off-by: James Almer <[email protected]>
    jamrial committed Aug 21, 2022
    Configuration menu
    Copy the full SHA
    6ee1996 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2022

  1. Configuration menu
    Copy the full SHA
    4096289 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2022

  1. fftools/Makefile: remove reference to libavresample

    FFmpeg removed it since it duplicated libswresample.
    ulmus-scott committed Aug 29, 2022
    Configuration menu
    Copy the full SHA
    40ce893 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2022

  1. libavformat/mpegts-mythtv.c: fix segmentation fault from customization

    ts->req_sid could be set to a garbage value > 8192 on the first pass,
    so keep the prior value, which is what the code did when it used a
    pmt_filter variable that was part of the MpegTSContext.
    ulmus-scott committed Aug 30, 2022
    Configuration menu
    Copy the full SHA
    4a3141a View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2022

  1. libavformat/demux.c: fix duration estimates with original FFmpeg mpeg…

    …ts demuxer
    
    I had fixed this previously, but the change must have been lost
    in the move from utils.c to demux.c.
    ulmus-scott committed Sep 5, 2022
    Configuration menu
    Copy the full SHA
    01efb1a View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2023

  1. libavcodec: remove MythTV customization AVSubtitle::forced

    Its uses have been replaced with AV_SUBTITLE_FLAG_FORCED of
    AVSubtitleRect::flags.
    
    Attempting to upstream these changes revealed this with the
    following addtional comments:
    "sizeof(AVSubtitle) is part of the public ABI, no additions to it are
    possible."
    
    "[Using AVSubtitleRect::flags]
    is also more correct, since in PGS for example you can have both
    active rects that are forced, and those that are not, at the same
    time."
    
    Signed-off-by: Peter Bennett <[email protected]>
    ulmus-scott authored and bennettpeter committed Jan 19, 2023
    Configuration menu
    Copy the full SHA
    6a9d56e View commit details
    Browse the repository at this point in the history
  2. hwcontext_vulkan: remove optional encode/decode extensions from the list

    They're not currently used, so they don't need to be there.
    Vulkan stabilized the decode extensions less than a week ago, and their
    name prefixes were changed from EXT to KHR. It's a bit too soon to be
    depending on it, so rather than bumping, just remove these for now.
    cyanreg authored and bennettpeter committed Jan 19, 2023
    Configuration menu
    Copy the full SHA
    94a6ca5 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2024

  1. Configuration menu
    Copy the full SHA
    20306e5 View commit details
    Browse the repository at this point in the history
  2. Revert "fix non UTF-8 files (external)"

    This reverts commit 049fabc8d8f10684bf60a1f96e344564c478f7e9.
    
    Reduce changes to FFmpeg.
    ulmus-scott committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    648010f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    267d948 View commit details
    Browse the repository at this point in the history