Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

audio: cleanup start/stop redundancy part 1 #1073

Closed
wants to merge 1 commit into from

Conversation

cspiel1
Copy link
Collaborator

@cspiel1 cspiel1 commented Mar 5, 2024

  • sdp: null pointer check for sdp_format data

Helps to remove redundancy in baresip: baresip/baresip#2943

@cspiel1 cspiel1 changed the title audio: cleanup start/stop redundancy audio: cleanup start/stop redundancy part 1 Mar 5, 2024
@cspiel1 cspiel1 added this to the v3.11.0 milestone Mar 5, 2024
@cspiel1
Copy link
Collaborator Author

cspiel1 commented Mar 5, 2024

@sreimers please could you have a look?

aulength: TEST_ERR: /home/cspiel/src/re/test/aulength.c:26: (No such file or directory [2])

@sreimers
Copy link
Member

sreimers commented Mar 5, 2024

@sreimers please could you have a look?

aulength: TEST_ERR: /home/cspiel/src/re/test/aulength.c:26: (No such file or directory [2])

Looks like a local problem (beep.wav from test data path is not found). The CI error here is:

test: test_sdp_all: test failed (No such file or directory [2])

@@ -764,6 +764,9 @@ const struct sdp_format *sdp_media_rformat(const struct sdp_media *m,
if (!fmt->sup)
continue;

if (!fmt->data)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure about this, struct sdp_format->ench and data are both optional and related to codec.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, okay. I have to look closer.

@cspiel1
Copy link
Collaborator Author

cspiel1 commented Mar 5, 2024

@cspiel1 cspiel1 closed this Mar 5, 2024
@cspiel1 cspiel1 deleted the audio_start_1 branch March 5, 2024 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants