Commit Graph
4 Commits
Author SHA1 Message Date
Zhao Zhili 2b5a258ad5 avcodec/bsf: tighten loop variable scope in av_bsf_link
And replace tab-indented log lines with spaces. No functional change.

Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
2026-07-07 19:04:42 +00:00
Zhao Zhili 3b08818dd8 avcodec/bsf: fix wrong pad index in av_bsf_link diagnostics
The error-path log loops read pad 0's codec id list instead of the
actual srcpad/dstpad, printing the wrong supported-codec list when a
link is rejected.

Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
2026-07-07 19:04:42 +00:00
Zhao Zhili 089e86692c avcodec/bsf: fix codec-id match loop in av_bsf_link
The break statement only exits the inner j loop, so the outer i loop
always runs to the AV_CODEC_ID_NONE terminator and the match result is
never recorded.

Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
2026-07-07 19:04:42 +00:00
James Almer 32a256f619 avcodec: add a graph based bitstream filtering API
Tagged experimental for now, as it may see modifications depending on
requirements.

Signed-off-by: James Almer <jamrial@gmail.com>
2026-07-06 13:26:02 -03:00