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)
available.
Simply return the number of bytes that you copied in any case. Return an
AVERROR(something) if there is an actual error.
_______________________________________________
Libav-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/libav-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to