diff --git a/libavcodec/h263.c b/libavcodec/h263.c
index ad6624ad6997d5d5e56a37b1e9fd7c9802ff9450..ae4ef3d956ab6f0f9e7b5d4f07e5b7fde4dcdf8f 100644
--- a/libavcodec/h263.c
+++ b/libavcodec/h263.c
@@ -3420,7 +3420,7 @@ void ff_mpeg4_clean_buffers(MpegEncContext *s)
  * finds the next resync_marker
  * @param p pointer to buffer to scan
  * @param end pointer to the end of the buffer
- * @return pointer to the next resync_marker, or \p end if none was found
+ * @return pointer to the next resync_marker, or end if none was found
  */
 const uint8_t *ff_h263_find_resync_marker(const uint8_t *restrict p, const uint8_t * restrict end)
 {
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index b2910ec3d32042ca2386a5b3daf031a82802ed64..3bdcbba8d813d1d7511c618898fdb7b1cdf78ebd 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -933,7 +933,7 @@ static void rtsp_skip_packet(AVFormatContext *s)
  * @param s RTSP demuxer context
  * @param reply pointer where the RTSP message header will be stored
  * @param content_ptr pointer where the RTSP message body, if any, will
- *                    be stored (length is in \p reply)
+ *                    be stored (length is in reply)
  * @param return_on_interleaved_data whether the function may return if we
  *                   encounter a data marker ('$'), which precedes data
  *                   packets over interleaved TCP/RTSP connections. If this
diff --git a/libavutil/mem.h b/libavutil/mem.h
index 37ba276d083bcda32e2769d1e6ba09e0092e8ba5..aa083a74969a23c389e996865f4f6f70508b8c98 100644
--- a/libavutil/mem.h
+++ b/libavutil/mem.h
@@ -67,7 +67,7 @@ void *av_malloc(unsigned int size) av_malloc_attrib av_alloc_size(1);
 
 /**
  * Allocates or reallocates a block of memory.
- * If ptr is NULL and size > 0, allocates a new block. If \p
+ * If ptr is NULL and size > 0, allocates a new block. If
  * size is zero, frees the memory block pointed to by ptr.
  * @param size Size in bytes for the memory block to be allocated or
  * reallocated.