mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 08:05:37 +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
|
||||
|
||||
#ifdef WIN32
|
||||
const uint8_t *fs_h263_find_resync_marker_reverse(const uint8_t *av_restrict start,
|
||||
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;
|
||||
start += 1; /* Make sure we never return the original start. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user