[FFmpeg-cvslog] avcodec/mediacodec: link to related documentation
Marvin Scholz
git at videolan.org
Mon Oct 17 11:01:08 EEST 2022
ffmpeg | branch: master | Marvin Scholz <epirat07 at gmail.com> | Sat Sep 24 19:54:18 2022 +0200| [80c8b988fb0b686f7e0b3f97ac83c1814f897d45] | committer: Anton Khirnov
avcodec/mediacodec: link to related documentation
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=80c8b988fb0b686f7e0b3f97ac83c1814f897d45
---
libavcodec/mediacodec.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/libavcodec/mediacodec.h b/libavcodec/mediacodec.h
index 845ade26eb..4e9b56a618 100644
--- a/libavcodec/mediacodec.h
+++ b/libavcodec/mediacodec.h
@@ -90,11 +90,13 @@ int av_mediacodec_release_buffer(AVMediaCodecBuffer *buffer, int render);
* that is associated with the decoder. The timestamp must be within one second
* of the current `java/lang/System#nanoTime()` (which is implemented using
* `CLOCK_MONOTONIC` on Android). See the Android MediaCodec documentation
- * of `android/media/MediaCodec#releaseOutputBuffer(int,long)` for more details.
+ * of [`android/media/MediaCodec#releaseOutputBuffer(int,long)`][0] for more details.
*
* @param buffer the buffer to render
* @param time timestamp in nanoseconds of when to render the buffer
* @return 0 on success, < 0 otherwise
+ *
+ * [0]: https://developer.android.com/reference/android/media/MediaCodec#releaseOutputBuffer(int,%20long)
*/
int av_mediacodec_render_buffer_at_time(AVMediaCodecBuffer *buffer, int64_t time);
More information about the ffmpeg-cvslog
mailing list