diff options
author | James Almer <jamrial@gmail.com> | 2024-04-21 12:18:51 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2024-04-24 00:11:37 -0300 |
commit | 757367e068679e0f2884262ab7c1f53de490e6ad (patch) | |
tree | ef18ea49ffa66365509d6f205f71b695e1726625 /libavfilter/vf_swapuv.c | |
parent | c4e3d6cdb066425a5f5a2e05def9470a47a6082c (diff) | |
download | ffmpeg-757367e068679e0f2884262ab7c1f53de490e6ad.tar.gz |
avformat/demux: extract extradata from packets when context update is requested
If the demuxer doesn't set extradata in the stream's codecpar, a
need_context_update request will delete the previously extracted extradata in
the stream's internal AVCodecContext.
As we can't ensure the old extradata is valid for the stream in its post
context update request state, try to get extradata from the new packet instead
of attempting to preserve the old in some form.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavfilter/vf_swapuv.c')
0 files changed, 0 insertions, 0 deletions