Skip to content

Commit bbfa211

Browse files
leo030303kkysen
andcommitted
enum Rav1dError: make docs for TryAgain more accurate
Co-authored-by: Khyber Sen <[email protected]>
1 parent a556ba1 commit bbfa211

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/error.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ pub enum Rav1dError {
2626

2727
/// Try again.
2828
///
29-
/// If this is returned by [`Decoder::send_data`] or [`Decoder::send_pending_data`] then there
30-
/// are decoded frames pending that first have to be retrieved via [`Decoder::get_picture`]
29+
/// If this is returned by [`rav1d_send_data`], then there
30+
/// are decoded frames pending that first have to be retrieved via [`rav1d_get_picture`]
3131
/// before processing any further pending data.
3232
///
33-
/// If this is returned by [`Decoder::get_picture`] then no decoded frames are pending
33+
/// If this is returned by [`rav1d_get_picture`], then no decoded frames are pending
3434
/// currently and more data needs to be sent to the decoder.
3535
TryAgain = libc::EAGAIN as u8,
3636

0 commit comments

Comments
 (0)