diff options
author | Zhao Zhili <zhilizhao@tencent.com> | 2023-05-19 19:23:33 +0800 |
---|---|---|
committer | Zhao Zhili <zhilizhao@tencent.com> | 2023-11-22 19:42:14 +0800 |
commit | d3aa0cd16f5e952bc346b7c74b4dcba95151a63a (patch) | |
tree | 3595dc26de53704ffd4473f1853bbefa636183bd /libavformat/gopher.c | |
parent | 4c4b833abd5bf951e0466a3d236a6e1ee2bd7d3f (diff) | |
download | ffmpeg-d3aa0cd16f5e952bc346b7c74b4dcba95151a63a.tar.gz |
avcodec/h264_mp4toannexb_bsf: fix missing PS before IDR frames
If there is a single group of SPS/PPS before an IDR frame, but no
SPS/PPS after that, we will miss the chance to reset
idr_sps_seen/idr_pps_seen. No SPS/PPS are inserted afterwards.
This patch saves in-band SPS/PPS and insert them before IDR frames
when necessary.
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
Diffstat (limited to 'libavformat/gopher.c')
0 files changed, 0 insertions, 0 deletions