avutil/log: Fix context pointer used for get_category()
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 30 Apr 2013 18:05:31 +0000 (20:05 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 13 May 2013 23:29:23 +0000 (01:29 +0200)
commit52fa7a860318aa871624c7938801492983c24456
tree7be2bea8017d4d59d98edb94d926677a2e92c511
parentd814b9b51ddd3764e809c1d0f82b770e0bc085fd
avutil/log: Fix context pointer used for get_category()

Fixes calling a random pointer

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 7edb984dd051b6919d7d8471c70499273f31b0fa)

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