Skip to content

[DreamNextGen] AMLogic audio + video backend fixes - #3

Merged
atvcaptain merged 3 commits into
oe-alliance:masterfrom
WXbet:aml-audio-fixes
Jun 17, 2026
Merged

atvcaptain merged 3 commits into
oe-alliance:masterfrom
WXbet:aml-audio-fixes

[DreamNextGen] AMLogic audio + video backend fixes

509cdeb
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jun 16, 2026 in 1m 39s

Quality Gate failed

Failed conditions
D Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 449 in output/dream_audio.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define each identifier in a dedicated statement.

See more on https://sonarcloud.io/project/issues?id=oe-alliance_exteplayer3&issues=AZ7SyK4NlwJ5gPmbEJpW&open=AZ7SyK4NlwJ5gPmbEJpW&pullRequest=3

Check failure on line 590 in output/dream_audio.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Either add a parameter list or the "&" operator to this use of "da_hbr_write_cb".

See more on https://sonarcloud.io/project/issues?id=oe-alliance_exteplayer3&issues=AZ7SyK4NlwJ5gPmbEJpY&open=AZ7SyK4NlwJ5gPmbEJpY&pullRequest=3

Check warning on line 279 in output/dream_audio.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This statement will not be executed conditionally.

See more on https://sonarcloud.io/project/issues?id=oe-alliance_exteplayer3&issues=AZ7SyK4NlwJ5gPmbEJpU&open=AZ7SyK4NlwJ5gPmbEJpU&pullRequest=3

Check warning on line 732 in output/dream_audio.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define each identifier in a dedicated statement.

See more on https://sonarcloud.io/project/issues?id=oe-alliance_exteplayer3&issues=AZ7SyK4NlwJ5gPmbEJpZ&open=AZ7SyK4NlwJ5gPmbEJpZ&pullRequest=3

Check failure on line 1319 in output/dream_audio.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to not nest more than 3 if|for|do|while|switch statements.

See more on https://sonarcloud.io/project/issues?id=oe-alliance_exteplayer3&issues=AZ7SyK4NlwJ5gPmbEJpi&open=AZ7SyK4NlwJ5gPmbEJpi&pullRequest=3

Check failure on line 1374 in output/dream_audio.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 32 to the 25 allowed.

See more on https://sonarcloud.io/project/issues?id=oe-alliance_exteplayer3&issues=AZ7SyK4NlwJ5gPmbEJpl&open=AZ7SyK4NlwJ5gPmbEJpl&pullRequest=3

Check warning on line 484 in output/dream_video.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the unused parameter "context", make it unnamed, or declare it "[[maybe_unused]]".

See more on https://sonarcloud.io/project/issues?id=oe-alliance_exteplayer3&issues=AZ7SyK6blwJ5gPmbEJpx&open=AZ7SyK6blwJ5gPmbEJpx&pullRequest=3

Check warning on line 1192 in output/dream_audio.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract the assignment to "da_q_tail" from this expression.

See more on https://sonarcloud.io/project/issues?id=oe-alliance_exteplayer3&issues=AZ7SyK4NlwJ5gPmbEJpd&open=AZ7SyK4NlwJ5gPmbEJpd&pullRequest=3

Check failure on line 490 in output/dream_audio.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Call to blocking function 'fgets' inside of critical section

See more on https://sonarcloud.io/project/issues?id=oe-alliance_exteplayer3&issues=AZ7SyK4NlwJ5gPmbEJpq&open=AZ7SyK4NlwJ5gPmbEJpq&pullRequest=3

Check warning on line 972 in container/container_ffmpeg.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract the assignment to "pts" from this expression.

See more on https://sonarcloud.io/project/issues?id=oe-alliance_exteplayer3&issues=AZ7SyK8zlwJ5gPmbEJp6&open=AZ7SyK8zlwJ5gPmbEJp6&pullRequest=3

Check failure on line 47 in output/dream_video.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make sure publicly writable directories are used safely here.

See more on https://sonarcloud.io/project/issues?id=oe-alliance_exteplayer3&issues=AZ7SyK6blwJ5gPmbEJps&open=AZ7SyK6blwJ5gPmbEJps&pullRequest=3

Check failure on line 1325 in output/dream_audio.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to not nest more than 3 if|for|do|while|switch statements.

See more on https://sonarcloud.io/project/issues?id=oe-alliance_exteplayer3&issues=AZ7SyK4NlwJ5gPmbEJpj&open=AZ7SyK4NlwJ5gPmbEJpj&pullRequest=3

Check failure on line 261 in output/dream_audio.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Call to blocking function 'read' inside of critical section

See more on https://sonarcloud.io/project/issues?id=oe-alliance_exteplayer3&issues=AZ7SyK4NlwJ5gPmbEJpo&open=AZ7SyK4NlwJ5gPmbEJpo&pullRequest=3

Check failure on line 362 in output/dream_video.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to not nest more than 3 if|for|do|while|switch statements.

See more on https://sonarcloud.io/project/issues?id=oe-alliance_exteplayer3&issues=AZ7SyK6blwJ5gPmbEJpv&open=AZ7SyK6blwJ5gPmbEJpv&pullRequest=3

Check warning on line 1245 in container/container_ffmpeg.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract the assignment to "pts" from this expression.

See more on https://sonarcloud.io/project/issues?id=oe-alliance_exteplayer3&issues=AZ7SyK8zlwJ5gPmbEJp9&open=AZ7SyK8zlwJ5gPmbEJp9&pullRequest=3

Check warning on line 1245 in container/container_ffmpeg.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract the assignment to "pts" from this expression.

See more on https://sonarcloud.io/project/issues?id=oe-alliance_exteplayer3&issues=AZ7SyK8zlwJ5gPmbEJp8&open=AZ7SyK8zlwJ5gPmbEJp8&pullRequest=3

Check failure on line 168 in output/dream_video.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a nested comment explaining why this method is empty, or complete the implementation.

See more on https://sonarcloud.io/project/issues?id=oe-alliance_exteplayer3&issues=AZ7SyK6blwJ5gPmbEJpt&open=AZ7SyK6blwJ5gPmbEJpt&pullRequest=3

Check warning on line 255 in output/dream_video.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract the assignment to "dv_q_tail" from this expression.

See more on https://sonarcloud.io/project/issues?id=oe-alliance_exteplayer3&issues=AZ7SyK6blwJ5gPmbEJpu&open=AZ7SyK6blwJ5gPmbEJpu&pullRequest=3

Check failure on line 305 in output/dream_audio.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

cast from 'const char *' to 'char *' drops const qualifier

See more on https://sonarcloud.io/project/issues?id=oe-alliance_exteplayer3&issues=AZ7SyK4NlwJ5gPmbEJpS&open=AZ7SyK4NlwJ5gPmbEJpS&pullRequest=3

Check warning on line 394 in output/dream_video.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract the assignment to "dv_q_tail" from this expression.

See more on https://sonarcloud.io/project/issues?id=oe-alliance_exteplayer3&issues=AZ7SyK6blwJ5gPmbEJpw&open=AZ7SyK6blwJ5gPmbEJpw&pullRequest=3

Check warning on line 901 in main/exteplayer.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This statement will not be executed conditionally.

See more on https://sonarcloud.io/project/issues?id=oe-alliance_exteplayer3&issues=AZ7SyK7LlwJ5gPmbEJp1&open=AZ7SyK7LlwJ5gPmbEJp1&pullRequest=3

Check warning on line 904 in container/container_ffmpeg.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract the assignment to "pts" from this expression.

See more on https://sonarcloud.io/project/issues?id=oe-alliance_exteplayer3&issues=AZ7SyK8zlwJ5gPmbEJp5&open=AZ7SyK8zlwJ5gPmbEJp5&pullRequest=3

Check warning on line 898 in main/exteplayer.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define each identifier in a dedicated statement.

See more on https://sonarcloud.io/project/issues?id=oe-alliance_exteplayer3&issues=AZ7SyK7LlwJ5gPmbEJp0&open=AZ7SyK7LlwJ5gPmbEJp0&pullRequest=3

Check warning on line 1401 in output/dream_audio.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a "default" case to this switch statement.

See more on https://sonarcloud.io/project/issues?id=oe-alliance_exteplayer3&issues=AZ7SyK4NlwJ5gPmbEJpn&open=AZ7SyK4NlwJ5gPmbEJpn&pullRequest=3

Check failure on line 1200 in output/dream_audio.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 97 to the 25 allowed.

See more on https://sonarcloud.io/project/issues?id=oe-alliance_exteplayer3&issues=AZ7SyK4NlwJ5gPmbEJpe&open=AZ7SyK4NlwJ5gPmbEJpe&pullRequest=3