OSDN Git Service

mpegtsenc: Clear st->priv_data when freeing it
authorMartin Storsjö <martin@martin.st>
Mon, 9 May 2011 13:29:01 +0000 (16:29 +0300)
committerMartin Storsjö <martin@martin.st>
Mon, 9 May 2011 16:14:40 +0000 (19:14 +0300)
commited87375dd555a1e7798dcd56c967af0171525a26
tree1cdd58cb3f53d15924715c161458a8ed64fe6443
parenta7ea5e3d35f30180ad69b86e6328f434e29119dc
mpegtsenc: Clear st->priv_data when freeing it

If not cleared, the caller might try to free it.

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