aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/ape.c
diff options
context:
space:
mode:
authorThomas Hebb <tommyhebb@gmail.com>2016-08-28 12:24:55 -0400
committerMichael Niedermayer <michael@niedermayer.cc>2016-08-28 20:54:22 +0200
commita37e6dd2ba85a44fc283d24f3ee3bdd8abad5b9b (patch)
tree141a4eb1d1d847435a720412f11d5772f0ea899f /libavformat/ape.c
parentcac2df230e730906bd1ec6cbd18670214fbf92bb (diff)
downloadffmpeg-a37e6dd2ba85a44fc283d24f3ee3bdd8abad5b9b.tar.gz
avformat/mov: aax: pass proper AVClass to av_log()
av_log() expects its first parameter to be a pointer to a struct whose first element is a pointer to an AVClass. In what I can only imagine is a typo, one call to av_log() in the AAX decryption code instead passes a pointer to an AVSHA struct, which doesn't even contain a pointer as its first element, much less a pointer to an AVClass. Change the call to pass the current MOVContext, as surrounding calls do. The incorrect AVClass was causing mpv to emit the warning "av_log callback called with bad parameters" when playing an .aax file. Signed-off-by: Thomas Hebb <tommyhebb@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/ape.c')
0 files changed, 0 insertions, 0 deletions