Empty if Statement at packet-mp4ves.c:297 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
dissect_mp4ves_next_start_code (/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-mp4ves.c)![]() | ||||||
![]() | ||||||
287 | */ | |||||
288 | static int | |||||
289 | dissect_mp4ves_next_start_code(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int bit_offset) | |||||
290 | { | |||||
291 | guint8 zero_bit; | |||||
292 | int start_bit_offset; | |||||
293 | ||||||
294 | start_bit_offset = bit_offset; | |||||
295 | ||||||
296 | zero_bit = tvb_get_bits8(tvb,bit_offset,1); | |||||
297 | if (zero_bit != 0){
| |||||
298 | /* Error */ | |||||
299 | } | |||||
300 | bit_offset++; | |||||
301 | ||||||
302 | /* zero stuffing bits */ | |||||
303 | if(bit_offset %8 == 0) | |||||
304 | return bit_offset; | |||||
305 | ||||||
306 | while(bit_offset %8 != 0){ | |||||
307 | bit_offset++; | |||||
![]() |