[Theora] Simple encodig sample...

Mat heavensdoor78 at gmail.com
Wed Oct 5 08:05:08 PDT 2005


Mat wrote:

> I tried to debug it with Valgrind and I found 4 possible memory leaks...
> but I think they can be found in the original sample too ( 
> encoder_example.c ) ... right?
> ( 1 about theora_encode_comment - row 195 )
> ( 3 about ogg_stream_init - row 133 )

About  ogg_stream_init ... if I remove  ogg_stream_state vo  in my 
sample the 3 leaks are gone.

About  theora_encode_comment ... mmm, I can't find the point.
It's seems that in  encoder_toplevel.c  -  function  
theora_encode_comment  op->packet  is allocated but not freed...



More information about the Theora mailing list