diff options
author | Marvin Scholz <epirat07@gmail.com> | 2022-09-24 19:53:13 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2022-10-17 09:55:19 +0200 |
commit | 56bbfe1136306665f83b3f02eb7f94c12c6ab99e (patch) | |
tree | 1d3061895a8df80fa52622b05558f38100d239cd /libavcodec/mediacodec.h | |
parent | aba8cf654f598f52b745cd00a39ee8cc7b328487 (diff) | |
download | ffmpeg-56bbfe1136306665f83b3f02eb7f94c12c6ab99e.tar.gz |
avcodec/mediacodec: use inline code for coderefs
Avoids doxy to interpret these as internal references forced by the #
character, fixing the warnings:
warning: explicit link request to 'nanoTime()' could not be resolved
warning: explicit link request to 'releaseOutputBuffer(int,long)'
could not be resolved
Diffstat (limited to 'libavcodec/mediacodec.h')
-rw-r--r-- | libavcodec/mediacodec.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/mediacodec.h b/libavcodec/mediacodec.h index 4c8545df03..845ade26eb 100644 --- a/libavcodec/mediacodec.h +++ b/libavcodec/mediacodec.h @@ -88,9 +88,9 @@ int av_mediacodec_release_buffer(AVMediaCodecBuffer *buffer, int render); /** * Release a MediaCodec buffer and render it at the given time to the surface * 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 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. * * @param buffer the buffer to render * @param time timestamp in nanoseconds of when to render the buffer |