aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/vulkan.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2025-06-11 14:52:47 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2025-06-17 00:35:13 +0200
commit9102a90a95d9b65f482c281d886d94ef74ff0bd3 (patch)
tree88e9aa2339d09b490772b0328953b6f94d905526 /libavutil/vulkan.c
parent730ffc5d35e0a2d48644da6f6880859bbbebd1c5 (diff)
downloadffmpeg-9102a90a95d9b65f482c281d886d94ef74ff0bd3.tar.gz
Revert "avcodec/decode: Fix avcodec parameters when bsfs are enable by decoder"
This reverts commit 1c170613975d3cbcbb5aaa469b4a3cf0df5d4c2b. The commit intended to provide certain codecs using *_mp4toannexb bitstream filters with updated (annex B) extradata (even when the user-supplied one was ISOBMFF), yet BSFs are allowed to change way more. The media100_to_mjpegb BSF used by the media100 decoder changes the codec id; the commit being reverted therefore changed AVCodecContext.codec_id which is an API violation and broke media100 decoding with the FFmpeg cli tool. This commit also made changes from the internal BSF externally visible. extradata is documented to be "owned by the codec and freed in avcodec_free_context()" which does not include replacing it with something else in avcodec_open2() and may surprise users who think that AVCodecContext.extradata is immutable before avcodec_free_context(). It also incurred a memdup which is completely unnecessary for most decoders. Therefore this commit is reverted. The problem it tried to solve will be solved differently in the next commit. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavutil/vulkan.c')
0 files changed, 0 insertions, 0 deletions