diff options
author | Zhao Zhili <zhilizhao@tencent.com> | 2024-03-17 11:34:57 +0800 |
---|---|---|
committer | Zhao Zhili <zhilizhao@tencent.com> | 2024-03-22 20:26:53 +0800 |
commit | 5229778440bf81e8a929af2cde04dc1e2d2c65f5 (patch) | |
tree | 0e362aea7187365ed4eaa3ee398e2a3456caa1f5 /Changelog | |
parent | c775163a8c032e20f25b79e63920f67e1b5b540d (diff) |
avcodec/libx264: fix extradata when config annexb=0
AVCodecContext extradata should be an AVCDecoderConfigurationRecord
when bitstream format is avcc. Simply concatenating the NALUs output
by x264_encoder_headers does not form a standard
AVCDecoderConfigurationRecord. The following cmd generates broken
file before the patch:
ffmpeg -i foo.mp4 -c:v libx264 -x264-params annexb=0 bar.mp4
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
Diffstat (limited to 'Changelog')
0 files changed, 0 insertions, 0 deletions