Mercurial > libavcodec.hg
changeset 8453:c78334e57b52 libavcodec
Indent
author | michael |
---|---|
date | Tue, 23 Dec 2008 22:06:16 +0000 |
parents | 06d4e91d7c24 |
children | bc5f446ed4a8 |
files | h264.c |
diffstat | 1 files changed, 19 insertions(+), 19 deletions(-) [+] |
line wrap: on
line diff
--- a/h264.c Tue Dec 23 22:04:34 2008 +0000 +++ b/h264.c Tue Dec 23 22:06:16 2008 +0000 @@ -4507,10 +4507,10 @@ tmp= get_bits1(&s->gb)^1; }else{ tmp= get_ue_golomb_31(&s->gb); - if(tmp>=ref_count){ - av_log(h->s.avctx, AV_LOG_ERROR, "ref %u overflow\n", tmp); - return -1; - } + if(tmp>=ref_count){ + av_log(h->s.avctx, AV_LOG_ERROR, "ref %u overflow\n", tmp); + return -1; + } } ref[list][i]= tmp; }else{ @@ -4581,11 +4581,11 @@ }else if(h->ref_count[list]==2){ val= get_bits1(&s->gb)^1; }else{ - val= get_ue_golomb_31(&s->gb); - if(val >= h->ref_count[list]){ - av_log(h->s.avctx, AV_LOG_ERROR, "ref %u overflow\n", val); - return -1; - } + val= get_ue_golomb_31(&s->gb); + if(val >= h->ref_count[list]){ + av_log(h->s.avctx, AV_LOG_ERROR, "ref %u overflow\n", val); + return -1; + } } }else val= LIST_NOT_USED&0xFF; @@ -4615,11 +4615,11 @@ }else if(h->ref_count[list] == 2){ val= get_bits1(&s->gb)^1; }else{ - val= get_ue_golomb_31(&s->gb); - if(val >= h->ref_count[list]){ - av_log(h->s.avctx, AV_LOG_ERROR, "ref %u overflow\n", val); - return -1; - } + val= get_ue_golomb_31(&s->gb); + if(val >= h->ref_count[list]){ + av_log(h->s.avctx, AV_LOG_ERROR, "ref %u overflow\n", val); + return -1; + } } }else val= LIST_NOT_USED&0xFF; @@ -4652,11 +4652,11 @@ }else if(h->ref_count[list]==2){ val= get_bits1(&s->gb)^1; }else{ - val= get_ue_golomb_31(&s->gb); - if(val >= h->ref_count[list]){ - av_log(h->s.avctx, AV_LOG_ERROR, "ref %u overflow\n", val); - return -1; - } + val= get_ue_golomb_31(&s->gb); + if(val >= h->ref_count[list]){ + av_log(h->s.avctx, AV_LOG_ERROR, "ref %u overflow\n", val); + return -1; + } } }else val= LIST_NOT_USED&0xFF;