Skip to content

Commit

Permalink
Add 's' option to opt string.
Browse files Browse the repository at this point in the history
Bug: 159159163
Test: build and run
Change-Id: I1217ca75f722bb1bcac019a3b0a3d4debc524925
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2248888
Auto-Submit: Michael Montvelishsky <mont@chromium.org>
Commit-Queue: Kenneth MacKay <kmackay@chromium.org>
Reviewed-by: Kenneth MacKay <kmackay@chromium.org>
Cr-Commit-Position: refs/heads/master@{#779058}
  • Loading branch information
Michael Montvelishsky authored and Commit Bot committed Jun 16, 2020
1 parent 41d6531 commit be9ff68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chromecast/media/cma/backend/cplay/cplay.cc
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ Parameters ReadArgs(int argc, char* argv[]) {
Parameters params;
params.cast_audio_json_path = CastAudioJson::GetFilePath();
int opt;
while ((opt = getopt(argc, argv, "i:o:c:v:d:r:")) != -1) {
while ((opt = getopt(argc, argv, "i:o:c:v:d:r:s")) != -1) {
switch (opt) {
case 'i':
params.input_file_path = base::FilePath(optarg);
Expand Down

0 comments on commit be9ff68

Please sign in to comment.