[mad-dev] libmad know the current bytes read or decoded
Rob Leslie
rob at mars.org
Mon Jun 18 13:45:45 PDT 2007
On Jun 6, 2007, at 5:55 AM, www.bigcab at free.fr wrote:
> here I would like to know if it could be possible to know if we
> could retrive the current byte read (an equivalent of ftell)
>
> aren't there any functions for it?
There's no function, but you can read stream->next_frame to determine
how much of your buffer has been consumed.
--
Rob Leslie
rob at mars.org
More information about the mad-dev
mailing list