FS-11394: [mod_av] Fix "restrict" regression.

This commit is contained in:
Andrey Volk 2018-09-19 21:36:02 +03:00
parent 0b2f72ff97
commit d541943e11
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. */