G'afternoon,

 

I am trying to feed a ByteIOContext directly from an internal buffered
stream.  How do I tell the ByteIOContext that I have shifted the used data
out of the buffer and to start reading from the top of the buffer?

 

I have tried setting the buffer pointer back to the beginning of the context
buffer:

 

ic->pb->buf_ptr = ic->pb->buffer ;

 

but that doesn't seem to work.  Is there a byte boundary being used?  Is
there a function i should call on the byte context after it's pulled the
data from the stream?

 

Any help is much appreciated.

 

Thanks in advance,

 

Rob

_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to