[FFmpeg-devel] [PATCH v2] Add support for playing Audible AAXC (.aaxc) files

Carl Eugen Hoyos ceffmpeg at gmail.com
Thu Apr 2 23:49:03 EEST 2020


Am Do., 2. Apr. 2020 um 07:39 Uhr schrieb Vesselin Bontchev
<vesselin.bontchev at yandex.com>:

> +    c->aes_decrypt = av_aes_alloc();

Don't you have to free this in the fail path?
An alternative is to allocate this after the length check...
If the alloc function returns NULL, you should return
ENOMEM.

Carl Eugen


More information about the ffmpeg-devel mailing list