summaryrefslogtreecommitdiff
path: root/libavcodec/mediacodec.h
diff options
context:
space:
mode:
authorMarvin Scholz <epirat07@gmail.com>2022-09-24 19:54:18 +0200
committerAnton Khirnov <anton@khirnov.net>2022-10-17 09:55:19 +0200
commit80c8b988fb0b686f7e0b3f97ac83c1814f897d45 (patch)
treebc87c9c865bcef2ef87df166c1dc82b3b0763b5e /libavcodec/mediacodec.h
parent56bbfe1136306665f83b3f02eb7f94c12c6ab99e (diff)
downloadffmpeg-80c8b988fb0b686f7e0b3f97ac83c1814f897d45.tar.gz
avcodec/mediacodec: link to related documentation
Diffstat (limited to 'libavcodec/mediacodec.h')
-rw-r--r--libavcodec/mediacodec.h4
1 files changed, 3 insertions, 1 deletions
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);