[private] Re: [theora] support for theora in xine
giles at xiph.org
Sun Apr 20 13:44:30 PDT 2003
On Sunday, April 20, 2003, at 04:28 pm, Andreas Heinchen wrote:
> I have a question concerning the yuv_buffer. In
> theora/examplesplayer_example.c the ogg buffer just gets defined and
> used in theora_decode_YUVout. I cant see how the yuvbuffer gets
> initialized (by decode_YUVout?) and how it is freed (by the user?).
Yes, it's initialized by decode_YUVout (in toplevel.c). It doesn't need
to be freed; the yuv_buffer struct itself is on the stack. The actual
image fields are just pointers to the the decoder's internal buffers:
the user doesn't own those at all so there's nothing to free.
In the absence of docs one has to read the code...
Hope that helps,
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'theora-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Theora