mirror of https://github.com/FFmpeg/FFmpeg.git
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>release/7.1
parent
c4e3d6cdb0
commit
757367e068
1 changed files with 13 additions and 0 deletions
Loading…
Reference in new issue