[FFmpeg-devel] [PATCH v5] Add support for Audible AA files

Vesselin Bontchev vesselin.bontchev at yandex.com
Thu Jul 30 12:50:14 CEST 2015


30.07.2015, 11:35, "Carl Eugen Hoyos" <cehoyos at ag.or.at>:
> Vesselin Bontchev <vesselin.bontchev <at> yandex.com> writes:

>>  + if (c->aa_fixed_key_size != 16) {
>>  // AVOption with a default value
>
> Again: Where is this variable set?
> You don't have to add a comment, just
> tell me, I don't see it.

+#define OFFSET(x) offsetof(AADemuxContext, x)
+#define FLAGS AV_OPT_FLAG_DECODING_PARAM
+static const AVOption aa_options[] = {
+    { "aa_fixed_key", // extracted from libAAX_SDK.so and AAXSDKWin.dll files!
+        "Fixed key used for handling Audible AA files", OFFSET(aa_fixed_key),
+        AV_OPT_TYPE_BINARY, {.str="77214d4b196a87cd520045fd2a51d673"},
+        .flags = AV_OPT_FLAG_DECODING_PARAM },
+    { NULL },
+};

Is this what you are asking for? I am pretty new to FFmpeg source code.

Vesselin


More information about the ffmpeg-devel mailing list