This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit fa7f969fc7ee5108921b610030b83b63246dc391 Author: Romain Beauxis <[email protected]> AuthorDate: Mon Nov 16 20:41:09 2026 -0600 Commit: Romain Beauxis <[email protected]> CommitDate: Sat Nov 21 13:32:34 2026 +0000 avformat/codecstring: name H.264 avc3 streams avc3 The profile and level part is the same for both sample entries: only the name differs. A stream tagged avc3, such as one muxed with -tag:v avc3, was announced as avc1. --- libavformat/codecstring.c | 7 ++++++- tests/ref/fate/codecstring | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/libavformat/codecstring.c b/libavformat/codecstring.c index 6ecec13ed5..70609d9a23 100644 --- a/libavformat/codecstring.c +++ b/libavformat/codecstring.c @@ -91,7 +91,12 @@ int ff_make_codec_str(void *logctx, const AVCodecParameters *par, p = &data[1]; else return AVERROR(EINVAL); - av_bprintf(out, "avc1.%02x%02x%02x", p[0], p[1], p[2]); + /* avc3 differs from avc1 by where the parameter sets are + * stored; the profile and level part is the same + * (ISO/IEC 14496-15) */ + av_bprintf(out, "%s.%02x%02x%02x", + par->codec_tag == MKTAG('a','v','c','3') ? "avc3" : "avc1", + p[0], p[1], p[2]); } else { return AVERROR(EINVAL); } diff --git a/tests/ref/fate/codecstring b/tests/ref/fate/codecstring index 472f24f38d..70f570e579 100644 --- a/tests/ref/fate/codecstring +++ b/tests/ref/fate/codecstring @@ -1,5 +1,5 @@ h264-annexb: avc1.64000b -h264-annexb-avc3: avc1.64000b +h264-annexb-avc3: avc3.64000b h264-avcc: avc1.64000b hevc-annexb-hvc1: hvc1.1.6.L30.90 hevc-annexb-hev1: error -- To stop receiving notification emails like this one, please contact [email protected]. _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
