You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avutil/common: warn about possible move of the data pointer after the last 0 byte in GET_UTF8
Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
@@ -373,7 +373,9 @@ static av_always_inline av_const int av_parity_c(uint32_t v)
|
|||||||
* @param GET_BYTE Expression reading one byte from the input.
|
* @param GET_BYTE Expression reading one byte from the input.
|
||||||
* Evaluated up to 7 times (4 for the currently
|
* Evaluated up to 7 times (4 for the currently
|
||||||
* assigned Unicode range). With a memory buffer
|
* assigned Unicode range). With a memory buffer
|
||||||
* input, this could be *ptr++.
|
* input, this could be *ptr++, or if you want to make sure
|
||||||
|
* that *ptr stops at the end of a NULL terminated string then
|
||||||
|
* *ptr ? *ptr++ : 0
|
||||||
* @param ERROR Expression to be evaluated on invalid input,
|
* @param ERROR Expression to be evaluated on invalid input,
|
||||||
* typically a goto statement.
|
* typically a goto statement.
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user