aacdec: consistently use avctx for logging in decode_eld_specific_config
authorAndreas Cadhalpun <andreas.cadhalpun@googlemail.com>
Thu, 16 Apr 2015 14:58:32 +0000 (16:58 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 22 Apr 2015 10:27:24 +0000 (12:27 +0200)
commit11752d17b8b4b7a8912bcb9f521045497abddfb1
treebe12c9344b1fe2c02be49639b07435910422179a
parent12e005f7e7a91a5e7cd30c486529bbbb8b2ae210
aacdec: consistently use avctx for logging in decode_eld_specific_config

ac may be NULL and then accessing ac->avctx results in a segmentation fault.

Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 5b75689b987e4c4dd4f34d5c8be389547e9cc701)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/aacdec.c