[FFmpeg-devel] [PATCH v3 07/54] avcodec/avcodec: Escape Doxygen reference

Marvin Scholz epirat07 at gmail.com
Sun Sep 25 03:10:34 EEST 2022


The # is interpreted as explicit reference request by Doxygen
which is not desired here, use markdown inline code to avoid
that.
---
 libavcodec/avcodec.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 9f79e61dc9..fb60331a31 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -1518,7 +1518,7 @@ typedef struct AVCodecContext {
      *   libavcodec will behave as if this field was always set to 1.
      *   Callers that want to be forward compatible with future libavcodec
      *   versions should wrap access to this field in
-     *     #if LIBAVCODEC_VERSION_MAJOR < 60
+     *     `#if LIBAVCODEC_VERSION_MAJOR < 60`
      */
     attribute_deprecated
     int thread_safe_callbacks;
-- 
2.37.0 (Apple Git-136)



More information about the ffmpeg-devel mailing list