30.07.2015, 11:35, "Carl Eugen Hoyos" <ceho...@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 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel