Mercurial > libavcodec.hg
comparison h264.c @ 2846:40765c51a7a9 libavcodec
Compilation fixes part 1 patch by (Arvind R. and Burkhard Plaum, plaum, ipf uni-stuttgart de)
author | michael |
---|---|
date | Fri, 26 Aug 2005 19:05:44 +0000 |
parents | 5f20ab245501 |
children | 3b920e274b26 |
comparison
equal
deleted
inserted
replaced
2845:d9f4b93e81c5 | 2846:40765c51a7a9 |
---|---|
3997 | 3997 |
3998 h->mmco[i].opcode= opcode; | 3998 h->mmco[i].opcode= opcode; |
3999 if(opcode==MMCO_SHORT2UNUSED || opcode==MMCO_SHORT2LONG){ | 3999 if(opcode==MMCO_SHORT2UNUSED || opcode==MMCO_SHORT2LONG){ |
4000 h->mmco[i].short_frame_num= (h->frame_num - get_ue_golomb(&s->gb) - 1) & ((1<<h->sps.log2_max_frame_num)-1); //FIXME fields | 4000 h->mmco[i].short_frame_num= (h->frame_num - get_ue_golomb(&s->gb) - 1) & ((1<<h->sps.log2_max_frame_num)-1); //FIXME fields |
4001 /* if(h->mmco[i].short_frame_num >= h->short_ref_count || h->short_ref[ h->mmco[i].short_frame_num ] == NULL){ | 4001 /* if(h->mmco[i].short_frame_num >= h->short_ref_count || h->short_ref[ h->mmco[i].short_frame_num ] == NULL){ |
4002 fprintf(stderr, "illegal short ref in memory management control operation %d\n", mmco); | 4002 av_log(s->avctx, AV_LOG_ERROR, "illegal short ref in memory management control operation %d\n", mmco); |
4003 return -1; | 4003 return -1; |
4004 }*/ | 4004 }*/ |
4005 } | 4005 } |
4006 if(opcode==MMCO_SHORT2LONG || opcode==MMCO_LONG2UNUSED || opcode==MMCO_LONG || opcode==MMCO_SET_MAX_LONG){ | 4006 if(opcode==MMCO_SHORT2LONG || opcode==MMCO_LONG2UNUSED || opcode==MMCO_LONG || opcode==MMCO_SET_MAX_LONG){ |
4007 h->mmco[i].long_index= get_ue_golomb(&s->gb); | 4007 h->mmco[i].long_index= get_ue_golomb(&s->gb); |