Merge pull request #1588 in FS/freeswitch from ~ANDYWOLK/freeswitch:feature/FS-11394-hardware-encoder-support to master

* commit 'd541943e11497d194aeeea17748e2125fe52160c':
  FS-11394: [mod_av] Fix "restrict" regression.
This commit is contained in:
Mike Jerris 2018-09-19 18:37:14 +00:00
commit e08f819b5a
1 changed files with 5 additions and 0 deletions

View File

@ -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. */