aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-11-09 21:49:41 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-11-09 21:49:41 +0000
commit8590bcc3cd4c8832cc480c8c8fed4b73418afb9f (patch)
tree0ae331f6021cc8fe946a2d58ac01efbadb18c52a /libavcodec
parentdfb32930dfc64ebb08a96f23bf8aa0b76da98d2d (diff)
downloadffmpeg-8590bcc3cd4c8832cc480c8c8fed4b73418afb9f.tar.gz
indention
Originally committed as revision 10976 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/vc1.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/libavcodec/vc1.c b/libavcodec/vc1.c
index 2a8d154b5f..aa4dcdbafe 100644
--- a/libavcodec/vc1.c
+++ b/libavcodec/vc1.c
@@ -1234,17 +1234,17 @@ static int vc1_parse_frame_header(VC1Context *v, GetBitContext* gb)
break;
}
- if(!v->x8_type)
- {
- /* AC Syntax */
- v->c_ac_table_index = decode012(gb);
- if (v->s.pict_type == I_TYPE || v->s.pict_type == BI_TYPE)
+ if(!v->x8_type)
{
- v->y_ac_table_index = decode012(gb);
+ /* AC Syntax */
+ v->c_ac_table_index = decode012(gb);
+ if (v->s.pict_type == I_TYPE || v->s.pict_type == BI_TYPE)
+ {
+ v->y_ac_table_index = decode012(gb);
+ }
+ /* DC Syntax */
+ v->s.dc_table_index = get_bits1(gb);
}
- /* DC Syntax */
- v->s.dc_table_index = get_bits1(gb);
- }
if(v->s.pict_type == BI_TYPE) {
v->s.pict_type = B_TYPE;