fix compiler error - equivalent

This commit is contained in:
Jeff Lenk 2011-07-08 20:33:58 -05:00
parent 2703a2cd05
commit dab274da78
1 changed files with 1 additions and 1 deletions

View File

@ -1019,7 +1019,7 @@ static void *SWITCH_THREAD_FUNC conference_video_thread_run(switch_thread_t *thr
int y = *((int8_t *) vid_frame->data + 2) & 0xfe;
iframe = (y == 0x80 || y == 0x82);
} else if (vid_frame->codec->implementation->ianacode == 99) { /* h.264 */
u_int8_t * hdr = vid_frame->data;
uint8_t * hdr = vid_frame->data;
uint8_t fragment_type = hdr[0] & 0x1f;
uint8_t nal_type = hdr[1] & 0x1f;
uint8_t start_bit = hdr[1] & 0x80;