[FFmpeg-cvslog] r16302 - trunk/libavcodec/h264.c
michael
subversion
Tue Dec 23 23:06:16 CET 2008
Author: michael
Date: Tue Dec 23 23:06:16 2008
New Revision: 16302
Log:
Indent
Modified:
trunk/libavcodec/h264.c
Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c Tue Dec 23 23:04:34 2008 (r16301)
+++ trunk/libavcodec/h264.c Tue Dec 23 23:06:16 2008 (r16302)
@@ -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;
More information about the ffmpeg-cvslog
mailing list