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)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Sun, 19 Apr 2015 22:45:35 +0000 (23:45 +0100)
commit09bd7ddf2002562befa15a2a4d065b79ad14ed8e
treec560d95e8bedfc771cfe176146d95686c19d0ecd
parent3d71b1f8f09fccea7158e868fb9bd81b81205449
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>
libavcodec/aacdec.c