mpegtsenc: Add an AVClass pointer to the private data
authorMartin Storsjö <martin@martin.st>
Fri, 20 May 2011 08:33:57 +0000 (11:33 +0300)
committerMartin Storsjö <martin@martin.st>
Fri, 20 May 2011 12:16:09 +0000 (15:16 +0300)
commit50fefa10de920e16036f2be977c39fc0c286d024
tree0ac6d3907b1a06af6a6ff9e0210c80d3cc902366
parentf255a28d140a64ea4c1a5060061863aec993b5ea
mpegtsenc: Add an AVClass pointer to the private data

Since a private class is set for this muxer, the callers will
assume that the private data starts with an AVClass pointer.
If no such member exists, the first few bytes of the struct
will be overwritten, and the class pointer may be broken at
any later time.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/mpegtsenc.c