[FFmpeg-devel] [PATCH v2 7/7] avcodec/avcodec: Escape Doxygen reference

Marvin Scholz epirat07 at gmail.com
Thu Sep 22 05:04:00 EEST 2022


The # is interpreted as explicit reference request by Doxygen
which is not desired here.

Additionally use a typewriter font to make the inline code
easier to distinguish.
---
 libavcodec/avcodec.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 665a5eadaf..f0904520b1 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
+     *     <tt>\#if LIBAVCODEC_VERSION_MAJOR < 60</tt>
      */
     attribute_deprecated
     int thread_safe_callbacks;
-- 
2.37.0 (Apple Git-136)



More information about the ffmpeg-devel mailing list