Skip to content

Commit

Permalink
clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
chenda6 committed Jun 5, 2024
1 parent f807516 commit 50e54da
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 6 deletions.
1 change: 0 additions & 1 deletion packager/live_packager_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include <memory>
#include <string>
#include <vector>
#include <fstream>

#include <absl/log/log.h>
#include <absl/strings/str_format.h>
Expand Down
1 change: 0 additions & 1 deletion packager/media/base/aes_encryptor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,6 @@ bool AesCbcEncryptor::CryptInternal(const uint8_t* plaintext,
residual_ciphertext_block - AES_BLOCK_SIZE, residual_block_size);
memcpy(residual_ciphertext_block - AES_BLOCK_SIZE, residual_block.data(),
AES_BLOCK_SIZE);

}
return true;
}
Expand Down
2 changes: 1 addition & 1 deletion packager/media/chunking/text_chunker.cc
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ TextChunker::TextChunker(double segment_duration_in_seconds,
: segment_duration_in_seconds_(segment_duration_in_seconds),
segment_start_(timed_text_decode_time),
segment_number_(start_segment_number),
adjust_sample_boundaries_(adjust_sample_boundaries){};
adjust_sample_boundaries_(adjust_sample_boundaries) {};

Status TextChunker::Process(std::unique_ptr<StreamData> data) {
switch (data->stream_data_type) {
Expand Down
2 changes: 1 addition & 1 deletion packager/media/formats/mp2t/ts_segmenter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ bool IsVideoCodec(Codec codec) {
} // namespace

TsSegmenter::TsSegmenter(const MuxerOptions& options, MuxerListener* listener)
: muxer_options_(options),
: muxer_options_(options),
listener_(listener),
transport_stream_timestamp_offset_(
options.transport_stream_timestamp_offset_ms * kTsTimescale / 1000),
Expand Down
3 changes: 1 addition & 2 deletions packager/packager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -536,8 +536,7 @@ std::unique_ptr<MediaHandler> CreateTextChunker(
const float segment_length_in_seconds =
chunking_params.segment_duration_in_seconds;
return std::unique_ptr<MediaHandler>(new TextChunker(
segment_length_in_seconds,
chunking_params.start_segment_number,
segment_length_in_seconds, chunking_params.start_segment_number,
chunking_params.timed_text_decode_time,
chunking_params.adjust_sample_boundaries));
}
Expand Down

0 comments on commit 50e54da

Please sign in to comment.