comparison mov.c @ 3032:f04e80f9fd59 libavformat

remove useless braces
author bcoudurier
date Mon, 11 Feb 2008 22:34:03 +0000
parents cc71bdb747fe
children 619970c01fc0
comparison
equal deleted inserted replaced
3031:cc71bdb747fe 3032:f04e80f9fd59
1433 sc->stts_data[stts_index].count -= chunk_samples; 1433 sc->stts_data[stts_index].count -= chunk_samples;
1434 break; 1434 break;
1435 } else { 1435 } else {
1436 chunk_duration += sc->stts_data[stts_index].duration * chunk_samples; 1436 chunk_duration += sc->stts_data[stts_index].duration * chunk_samples;
1437 chunk_samples -= sc->stts_data[stts_index].count; 1437 chunk_samples -= sc->stts_data[stts_index].count;
1438 if (stts_index + 1 < sc->stts_count) { 1438 if (stts_index + 1 < sc->stts_count)
1439 stts_index++; 1439 stts_index++;
1440 }
1441 } 1440 }
1442 } 1441 }
1443 current_offset += sc->bytes_per_frame; 1442 current_offset += sc->bytes_per_frame;
1444 dprintf(mov->fc, "AVIndex stream %d, chunk %d, offset %"PRIx64", dts %"PRId64", size %d, " 1443 dprintf(mov->fc, "AVIndex stream %d, chunk %d, offset %"PRIx64", dts %"PRId64", size %d, "
1445 "duration %d\n", st->index, i, current_offset, current_dts, chunk_size, chunk_duration); 1444 "duration %d\n", st->index, i, current_offset, current_dts, chunk_size, chunk_duration);