[Libav-user] How to demux an audio file received in chunks?

Jaka Bac jakabac at gmail.com
Tue Jan 30 23:50:01 EET 2024

read_packet should not return AVERROR(EAGAIN) if it knows that more data
will be available but it doesn't have the requested amount (bufferSize)
Simply return the number of bytes that you copied in any case. Return an
AVERROR(something) if there is an actual error.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20240130/c18d3c72/attachment.htm>

More information about the Libav-user mailing list