[FFmpeg-devel] [PATCH] libavformat/usmdec: add support for HCA stream decryption
Pavel Roslyy
roslypav at gmail.com
Fri Jul 4 01:28:32 EEST 2025
Hello,
After experimenting, I think it would be a better idea to move the hca_*
options into libavcodec/hcadec.c rather than duplicating them into the usm
demuxer. Before I try to submit patches that do this I have some questions.
1) I plan on removing the hca_* options from libavformat/hca.c and placing
them into libavcodec/hcadec.c. Am I correct in assuming that this would be
considered an API deprecation and would require doing deprecation guards in
libavformat/hca.c?
2) If considered an API deprecation, would it make sense to consolidate
hca_lowkey and hca_highkey into a single hca_key option that takes 16 bits of
hexadecimal string (like most other decryption key options) rather than
keeping the options as integer hca_highkey / hca_lowkey in
libavcodec/hcadec.c?
Regards,
Pavel Roslyy
More information about the ffmpeg-devel
mailing list