diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-12-23 22:06:16 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-12-23 22:06:16 +0000 |
commit | ebfb0449d3ea6c5cc2ae527d27237a87b3a01d75 (patch) | |
tree | 673da6e064fb71e8cb249b06a52b1ef61eae7190 | |
parent | 05d3fd44d7ab34b2b456c2fad9e84651575a8ae4 (diff) | |
download | ffmpeg-ebfb0449d3ea6c5cc2ae527d27237a87b3a01d75.tar.gz |
Indent
Originally committed as revision 16302 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/h264.c | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 0544bd8e39..ccae2bb8f6 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -4507,10 +4507,10 @@ decode_intra_mb: 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 @@ decode_intra_mb: }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 @@ decode_intra_mb: }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 @@ decode_intra_mb: }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; |