comparison rtp_h264.c @ 1888:f794ef55fafe libavformat

Corrections so that builds with DEBUG work
author mbardiaux
date Thu, 08 Mar 2007 14:49:43 +0000
parents 1f7a6dc01100
children fbc66bf1f15d
comparison
equal deleted inserted replaced
1887:490aa34aef0f 1888:f794ef55fafe
162 AVPacket * pkt, 162 AVPacket * pkt,
163 uint32_t * timestamp, 163 uint32_t * timestamp,
164 const uint8_t * buf, 164 const uint8_t * buf,
165 int len) 165 int len)
166 { 166 {
167 // h264_rtp_extra_data *data = s->dynamic_protocol_context; 167 #ifdef DEBUG
168 h264_rtp_extra_data *data = s->dynamic_protocol_context;
169 #endif
168 uint8_t nal = buf[0]; 170 uint8_t nal = buf[0];
169 uint8_t type = (nal & 0x1f); 171 uint8_t type = (nal & 0x1f);
170 int result= 0; 172 int result= 0;
171 uint8_t start_sequence[]= {0, 0, 1}; 173 uint8_t start_sequence[]= {0, 0, 1};
172 174