这个是OK的:
class Rtmp_tool { public: int m_width; AVCodecContext * c; }; 指针的用法如下: Rtmp_tool * rtmp_tool; rtmp_tool = new Rtmp_tool(); rtmp_tool->m_width = m_w
这个是OK的:
class Rtmp_tool { public: int m_width; AVCodecContext * c; }; 指针的用法如下: Rtmp_tool * rtmp_tool; rtmp_tool = new Rtmp_tool(); rtmp_tool->m_width = m_w