comparison h264.c @ 1214:327c5a36dfe7 libavcodec

fixing mixed dr1 + internal buffers
author michaelni
date Fri, 25 Apr 2003 00:29:48 +0000
parents f3c659bfdb8e
children ad21a7b2349b
comparison
equal deleted inserted replaced
1213:a71fe70b428b 1214:327c5a36dfe7
3866 | slice_group_id_cnt_minus1 |1 |ue(v) | 3866 | slice_group_id_cnt_minus1 |1 |ue(v) |
3867 | for( i = 0; i <= slice_group_id_cnt_minus1; i++ | | | 3867 | for( i = 0; i <= slice_group_id_cnt_minus1; i++ | | |
3868 |) | | | 3868 |) | | |
3869 | slice_group_id[ i ] |1 |u(v) | 3869 | slice_group_id[ i ] |1 |u(v) |
3870 #endif 3870 #endif
3871 break;
3871 } 3872 }
3872 } 3873 }
3873 pps->ref_count[0]= get_ue_golomb(&s->gb) + 1; 3874 pps->ref_count[0]= get_ue_golomb(&s->gb) + 1;
3874 pps->ref_count[1]= get_ue_golomb(&s->gb) + 1; 3875 pps->ref_count[1]= get_ue_golomb(&s->gb) + 1;
3875 if(pps->ref_count[0] > 32 || pps->ref_count[1] > 32){ 3876 if(pps->ref_count[0] > 32 || pps->ref_count[1] > 32){
4364 sizeof(H264Context), 4365 sizeof(H264Context),
4365 decode_init, 4366 decode_init,
4366 NULL, 4367 NULL,
4367 decode_end, 4368 decode_end,
4368 decode_frame, 4369 decode_frame,
4369 /*CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | */CODEC_CAP_TRUNCATED, 4370 /*CODEC_CAP_DRAW_HORIZ_BAND |*/ CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED,
4370 }; 4371 };
4371 4372