comparison h264.c @ 10235:14353a40db5e libavcodec

Cosmetics: Fix typo.
author cehoyos
date Wed, 23 Sep 2009 10:07:29 +0000
parents c2fc56bdee95
children 59ec306245a4
comparison
equal deleted inserted replaced
10234:c2fc56bdee95 10235:14353a40db5e
7086 sps->timing_info_present_flag = get_bits1(&s->gb); 7086 sps->timing_info_present_flag = get_bits1(&s->gb);
7087 if(sps->timing_info_present_flag){ 7087 if(sps->timing_info_present_flag){
7088 sps->num_units_in_tick = get_bits_long(&s->gb, 32); 7088 sps->num_units_in_tick = get_bits_long(&s->gb, 32);
7089 sps->time_scale = get_bits_long(&s->gb, 32); 7089 sps->time_scale = get_bits_long(&s->gb, 32);
7090 if(sps->num_units_in_tick-1 > 0x7FFFFFFEU || sps->time_scale-1 > 0x7FFFFFFEU){ 7090 if(sps->num_units_in_tick-1 > 0x7FFFFFFEU || sps->time_scale-1 > 0x7FFFFFFEU){
7091 av_log(h->s.avctx, AV_LOG_ERROR, "time_scale/num_units_in_tick inavlid or unsupported (%d/%d)\n", sps->time_scale, sps->num_units_in_tick); 7091 av_log(h->s.avctx, AV_LOG_ERROR, "time_scale/num_units_in_tick invalid or unsupported (%d/%d)\n", sps->time_scale, sps->num_units_in_tick);
7092 return -1; 7092 return -1;
7093 } 7093 }
7094 sps->fixed_frame_rate_flag = get_bits1(&s->gb); 7094 sps->fixed_frame_rate_flag = get_bits1(&s->gb);
7095 } 7095 }
7096 7096