Mercurial > libavcodec.hg
comparison h264.c @ 8965:a5dce344904a libavcodec
Parse initial_cpb_removal_delay_length.
Patch by Ivan Schreter, schreter gmx net
author | cehoyos |
---|---|
date | Wed, 18 Feb 2009 00:33:33 +0000 |
parents | de631175196e |
children | 328b7d545d0b |
comparison
equal
deleted
inserted
replaced
8964:d08dc32559e7 | 8965:a5dce344904a |
---|---|
6915 for(i=0; i<cpb_count; i++){ | 6915 for(i=0; i<cpb_count; i++){ |
6916 get_ue_golomb(&s->gb); /* bit_rate_value_minus1 */ | 6916 get_ue_golomb(&s->gb); /* bit_rate_value_minus1 */ |
6917 get_ue_golomb(&s->gb); /* cpb_size_value_minus1 */ | 6917 get_ue_golomb(&s->gb); /* cpb_size_value_minus1 */ |
6918 get_bits1(&s->gb); /* cbr_flag */ | 6918 get_bits1(&s->gb); /* cbr_flag */ |
6919 } | 6919 } |
6920 get_bits(&s->gb, 5); /* initial_cpb_removal_delay_length_minus1 */ | 6920 sps->initial_cpb_removal_delay_length = get_bits(&s->gb, 5) + 1; |
6921 sps->cpb_removal_delay_length = get_bits(&s->gb, 5) + 1; | 6921 sps->cpb_removal_delay_length = get_bits(&s->gb, 5) + 1; |
6922 sps->dpb_output_delay_length = get_bits(&s->gb, 5) + 1; | 6922 sps->dpb_output_delay_length = get_bits(&s->gb, 5) + 1; |
6923 sps->time_offset_length = get_bits(&s->gb, 5); | 6923 sps->time_offset_length = get_bits(&s->gb, 5); |
6924 return 0; | 6924 return 0; |
6925 } | 6925 } |