/* USBD_VIDEO_GetNextDesc This function return the next descriptor header.  */
static USBD_VIDEO_DescHeader_t * USBD_VIDEO_GetNextDesc(uint8_t *pbuf, uint16_t *ptr)
/* USBD_VIDEO_GetNextDesc This function return the next descriptor header.  */
static USBD_VIDEO_DescHeader_t * USBD_VIDEO_GetNextDesc(uint8_t *pbuf, uint16_t *ptr)
{
  USBD_VIDEO_DescHeader_t *pnext = (USBD_VIDEO_DescHeader_t *)(void *)pbuf;
  *ptr += pnext->bLength;
  pnext = (USBD_VIDEO_DescHeader_t *)(void *)(pbuf + pnext->bLength);
  return (pnext);
}