Andreas Rheinhardt (12020-05-05):
> > +static const AVOption opus_metadata_options[] = {
> > + { "gain", "Gain, actual amplification is pow(10, gain/(20.0*256))",
> > OFFSET(gain),
> > + AV_OPT_TYPE_INT, { .i64 = 0 }, -(INT16_MAX + 1), INT16_MAX, .flags =
> > FLAGS },
> > +
> > + { NULL },
> > +};
>
> You are using an AV_OPT_TYPE_INT parameter, yet the actual type of the
> destination is int64_t. This won't work on big endian systems. Make gain
> an int.Or make it a float and multiply it by 256 or 5120 before giving it to libopus, possibly. Regards, -- Nicolas George
signature.asc
Description: PGP signature
_______________________________________________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
