aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_swapuv.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2024-04-21 12:18:51 -0300
committerJames Almer <jamrial@gmail.com>2024-04-24 00:11:37 -0300
commit757367e068679e0f2884262ab7c1f53de490e6ad (patch)
treeef18ea49ffa66365509d6f205f71b695e1726625 /libavfilter/vf_swapuv.c
parentc4e3d6cdb066425a5f5a2e05def9470a47a6082c (diff)
downloadffmpeg-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