comparison h264.c @ 4363:9b7662fa4905 libavcodec

remove useless cast that makes code unreadable
author gpoirier
date Fri, 19 Jan 2007 12:41:56 +0000
parents 0271b214458b
children 05e932ddaaa9
comparison
equal deleted inserted replaced
4362:0271b214458b 4363:9b7662fa4905
4530 if(h->sps.log2_max_frame_num == 0){ 4530 if(h->sps.log2_max_frame_num == 0){
4531 av_log(h->s.avctx, AV_LOG_ERROR, "non existing SPS referenced\n"); 4531 av_log(h->s.avctx, AV_LOG_ERROR, "non existing SPS referenced\n");
4532 return -1; 4532 return -1;
4533 } 4533 }
4534 4534
4535 if(h->dequant_coeff_pps != (int)pps_id){ 4535 if(h->dequant_coeff_pps != pps_id){
4536 h->dequant_coeff_pps = (int)pps_id; 4536 h->dequant_coeff_pps = pps_id;
4537 init_dequant_tables(h); 4537 init_dequant_tables(h);
4538 } 4538 }
4539 4539
4540 s->mb_width= h->sps.mb_width; 4540 s->mb_width= h->sps.mb_width;
4541 s->mb_height= h->sps.mb_height * (2 - h->sps.frame_mbs_only_flag); 4541 s->mb_height= h->sps.mb_height * (2 - h->sps.frame_mbs_only_flag);