diff h264.c @ 8970:9757b2f87d83 libavcodec

Store CPB count in the context. Patch by Ivan Schreter, schreter gmx net
author cehoyos
date Wed, 18 Feb 2009 23:25:59 +0000
parents f0abc5f9e726
children eaf39f9b25df
line wrap: on
line diff
--- a/h264.c	Wed Feb 18 11:57:11 2009 +0000
+++ b/h264.c	Wed Feb 18 23:25:59 2009 +0000
@@ -6925,6 +6925,7 @@
     sps->cpb_removal_delay_length = get_bits(&s->gb, 5) + 1;
     sps->dpb_output_delay_length = get_bits(&s->gb, 5) + 1;
     sps->time_offset_length = get_bits(&s->gb, 5);
+    sps->cpb_cnt = cpb_count;
     return 0;
 }