Skip to content

Commit 5f09da6

Browse files
author
Clement Champetier
committed
OutputStream: improved indentation in wrap method
1 parent 000c24a commit 5f09da6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/AvTranscoder/stream/OutputStream.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,11 @@ IOutputStream::EWrappingStatus OutputStream::wrap( const CodedData& data )
8989
break;
9090
audioPacketDuration.num = frame_size;
9191
audioPacketDuration.den = _outputAVStream.codec->sample_rate;
92-
_wrappedPacketsDuration += av_rescale( 1, audioPacketDuration.num * (int64_t)_outputAVStream.time_base.den * _outputAVStream.codec->ticks_per_frame, audioPacketDuration.den * (int64_t)_outputAVStream.time_base.num );
92+
_wrappedPacketsDuration += av_rescale(
93+
1,
94+
audioPacketDuration.num * (int64_t)_outputAVStream.time_base.den * _outputAVStream.codec->ticks_per_frame,
95+
audioPacketDuration.den * (int64_t)_outputAVStream.time_base.num
96+
);
9397
break;
9498
}
9599
default:

0 commit comments

Comments
 (0)