FFmpeg/tests
Zhao Zhili 25812d3033 avcodec/bsf/h264_mp4toannexb: Fix mixed bitstream format
This bsf converts AV_PKT_DATA_NEW_EXTRADATA side data in avcc format
to in-band annexb format. However, the side data wasn't been removed
and copied from input packet to output packet. So the output packet
has mixed bitstream format. We don't support mixed bitstream format.
For example, h264_metadata report error in the following case:

ffmpeg -i foo.flv \
  -bsf:v "h264_mp4toannexb,h264_metadata" \
  -c copy -f null

This patch removed NEW_EXTRADATA side data after process.

This patch also add a check so only NEW_EXTRADATA in avcc format is
processed. NEW_EXTRADATA in annexb format is copied to output as is.

Reported-by: jiangjie <jiangjie618@gmail.com>
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
2025-04-29 15:25:08 +08:00
..
api api/api-band-test: Query codec capabilities to decide admissibility 2024-06-12 14:29:30 +02:00
checkasm lavc/apv: AVX2 transquant for x86-64 2025-04-27 15:52:30 +01:00
fate avcodec/bsf/h264_mp4toannexb: Fix mixed bitstream format 2025-04-29 15:25:08 +08:00
filtergraphs fate/libswresample: add a test downmixing with a custom order layout 2025-02-06 13:51:23 -03:00
maps
ref fate: add stripetest 2025-04-27 05:04:34 +02:00
streamgroups avformat/iamf: use the correct layouts for Sound Systems B and C 2025-01-03 10:27:13 -03:00
.gitignore
audiogen.c tests/audiogen: Fix total RIFF chunk size 2024-03-28 11:54:41 +01:00
audiomatch.c
base64.c
copycooker.sh
extended.ffconcat
fate-run.sh avformat/matroska: add support for VVC streams 2025-01-12 11:13:31 -03:00
fate-valgrind.supp
fate.sh fate: allow https for git URLs 2024-04-27 23:24:58 +02:00
Makefile tests: Add libpostproc blocktest 2025-04-27 05:04:34 +02:00
md5.sh
refcmp-metadata.awk
reference.pnm
rotozoom.c
simple1.ffconcat
simple2.ffconcat
test.ffmeta
tiny_psnr.c
tiny_ssim.c
utils.c
videogen.c