On 2/5/22 00:49, Andreas Rheinhardt wrote:
- * @param[in,out] start_code A reference to a mutable @c uint32_t.<br>
+ * @param[in,out] start_code A constant pointer (reference) to a mutable @c 
uint32_t.<br>
There are no references in C.

A pointer is a type of reference.  However, I agree "A pointer to a mutable @c uint32_t.<br>" would be clearer.

Documenting restrictions on the callee that are irrelevant to the caller
in a public header seems weird.

Fair enough, the added consts shall be limited to libavcodec/utils.c.

-Scott
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to