mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-15 16:39:14 +00:00
FS-11394: [mod_av] Fix "restrict" regression.
This commit is contained in:
parent
0b2f72ff97
commit
d541943e11
@ -710,8 +710,13 @@ void rtp_callback(struct AVCodecContext *avctx, void *data, int size, int mb_nb)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef WIN32
|
||||||
const uint8_t *fs_h263_find_resync_marker_reverse(const uint8_t *av_restrict start,
|
const uint8_t *fs_h263_find_resync_marker_reverse(const uint8_t *av_restrict start,
|
||||||
const uint8_t *av_restrict end)
|
const uint8_t *av_restrict end)
|
||||||
|
#else
|
||||||
|
const uint8_t *fs_h263_find_resync_marker_reverse(const uint8_t *restrict start,
|
||||||
|
const uint8_t *restrict end)
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
const uint8_t *p = end - 1;
|
const uint8_t *p = end - 1;
|
||||||
start += 1; /* Make sure we never return the original start. */
|
start += 1; /* Make sure we never return the original start. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user