ADMBitstream only initializes some of its members

Started by ajschult, December 08, 2012, 03:51:21 AM

Previous topic - Next topic

ajschult

ADMBitstream's constructor does


memset(this,0,sizeof(this));


but |this| is just a pointer.  You want


memset(this,0,sizeof(*this));


valgrind complains about muxerAvi.cpp:167 using in.dts uninitialized.