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
___
ffmpeg-devel mailing list
ffmpeg-devel
On Thu, Jun 26, 2025 at 2:08 PM Michael Niedermayer
wrote:
>
> Hi Pavel
>
> On Thu, Jun 26, 2025 at 12:04:17AM -0700, Pavel Roslyy wrote:
> > On Wed, Jun 25, 2025 at 3:40 PM Michael Niedermayer
> > wrote:
> > >
> > > [...]
> > >
Hi Andreas,
On Wed, Jun 25, 2025 at 5:42 PM Andreas Rheinhardt
wrote:
>
> Pavel Roslyy:
> > [...]
> >
> > +#define OFFSET(x) offsetof(USMDemuxContext, x)
> > +#define FLAGS AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_DECODING_PARAM
> > +static const AVOption usm_
24.
key_buf adds at most 10, which is not enough to overflow.
> also LIBAVFORMAT_VERSION_MICRO could be increased
Understood, will do that in a separate patch or bundled into a v2 of this
patch, whichever needs to happen.
Regards,
Pavel Roslyy
___
ffmpeg-devel mailing list
---
libavformat/usmdec.c | 53 +---
1 file changed, 50 insertions(+), 3 deletions(-)
diff --git a/libavformat/usmdec.c b/libavformat/usmdec.c
index fd28e935ce..c5f2e208df 100644
--- a/libavformat/usmdec.c
+++ b/libavformat/usmdec.c
@@ -19,6 +19,7 @@
* Fou
to test in some
other way, free free.
Regards,
Pavel Roslyy
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".
Sample file for testing:
https://streams.videolan.org/ffmpeg/incoming/encrypted-hca_lowkey-3201512.hca
Use -hca_lowkey 3201512 for decryption.
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsub
Need to skip 2 more bytes because comp sections are 12 bytes long.
Fixes decryption since ciph_type is now being set.
Signed-off-by: Pavel Roslyy
---
libavcodec/hcadec.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/hcadec.c b/libavcodec/hcadec.c
index feb3dce3de..7780372cf3