Properly clean up when comment decoding is interrupted. Also, check to make sure an invalid packet doesn't tell us to allocate a  ridiculous number of comment pointers (i.e., more than could possibly fit in  the packet).
Properly clean up when comment decoding is interrupted.
Also, check to make sure an invalid packet doesn't tell us to allocate a
 ridiculous number of comment pointers (i.e., more than could possibly fit in
 the packet).


git-svn-id: 8dbf393e6e9ab8d4979d29f9a341a98016792aa6@14500 0101bb08-14d6-0310-b084-bc0e0c8e3800

Distrotech/libtheora,KTXSoftware/theora,KTXSoftware/theora,KTXSoftware/theora,Distrotech/libtheora,KTXSoftware/theora,Distrotech/libtheora,KTXSoftware/theora,Distrotech/libtheora,Distrotech/libtheora