summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Shaposhnik <roman@shaposhnik.org>2008-11-19 01:40:09 +0000
committerRoman Shaposhnik <roman@shaposhnik.org>2008-11-19 01:40:09 +0000
commitff16d6e49557ce7bb939eb6b7e88de221608ffdc (patch)
treefef3d92620f482f7562a7363a74b8ea7b1cb9704
parentdf69be0c1330fb590e5d68222264db9666d55b7c (diff)
downloadffmpeg-ff16d6e49557ce7bb939eb6b7e88de221608ffdc.tar.gz
Change of indentation
Originally committed as revision 15883 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/dv.c29
1 files changed, 14 insertions, 15 deletions
diff --git a/libavcodec/dv.c b/libavcodec/dv.c
index b195583022..844f6b3d85 100644
--- a/libavcodec/dv.c
+++ b/libavcodec/dv.c
@@ -209,21 +209,20 @@ static int dv_init_dynamic_tables(const DVprofile *d)
{
int j,i,c,s,p;
- if (d->work_chunks[dv_work_pool_size(d)-1].buf_offset)
- return 0;
-
- p = i = 0;
- for (c=0; c<d->n_difchan; c++) {
- for (s=0; s<d->difseg_size; s++) {
- p += 6;
- for (j=0; j<27; j++) {
- p += !(j%3);
- if (!(DV_PROFILE_IS_1080i50(d) && c != 0 && s == 11) &&
- !(DV_PROFILE_IS_720p50(d) && s > 9)) {
- dv_calc_mb_coordinates(d, c, s, j, &d->work_chunks[i].mb_coordinates[0]);
- d->work_chunks[i++].buf_offset = p;
- }
- p += 5;
+ if (!d->work_chunks[dv_work_pool_size(d)-1].buf_offset) {
+ p = i = 0;
+ for (c=0; c<d->n_difchan; c++) {
+ for (s=0; s<d->difseg_size; s++) {
+ p += 6;
+ for (j=0; j<27; j++) {
+ p += !(j%3);
+ if (!(DV_PROFILE_IS_1080i50(d) && c != 0 && s == 11) &&
+ !(DV_PROFILE_IS_720p50(d) && s > 9)) {
+ dv_calc_mb_coordinates(d, c, s, j, &d->work_chunks[i].mb_coordinates[0]);
+ d->work_chunks[i++].buf_offset = p;
+ }
+ p += 5;
+ }
}
}
}