Always pass a AVFormatContext to av_log.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Tue, 9 Aug 2011 17:14:12 +0000 (19:14 +0200)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Wed, 10 Aug 2011 18:39:50 +0000 (20:39 +0200)
commit03990448058e5aee3394a79259e215a554bbbaec
tree3b20182d19a8695d0211ba9ff37e1e3384204e52
parent9f06c1c61e876e930753da200bfe835817e30a53
Always pass a AVFormatContext to av_log.

This is consistent, allows custom handlers to print more info
(since they probably know about the AVFormatContext class
but not a demuxer-specific one) and also avoids issues due
to the class pointer being NULL for non-raw mpegts.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
libavformat/mpegts.c