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>
Thu, 9 May 2013 20:02:15 +0000 (22:02 +0200)
commitcc0dd86580b3257f22a4981a79eb5fa6804182b6
tree54dba1837b4d46026e19c39a69e6a1706c1a17d4
parent0baa0a5a02e16ef097ed9f72bc8a7d7b585c7652
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