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] tag /tmp log opens with NOSONAR

137344e
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jun 17, 2026 in 1m 37s

Annotations

Check warning on line 1157 in output/dream_audio.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make the type of this parameter a pointer-to-const. The current type of "src" is "da_qitem_t *".

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

Check warning on line 889 in output/dream_audio.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested conditional operator into an independent statement.

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

Check warning on line 1426 in output/dream_audio.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this redundant cast.

See more on https://sonarcloud.io/project/issues?id=oe-alliance_exteplayer3&issues=AZ7SyK4NlwJ5gPmbEJpm&open=AZ7SyK4NlwJ5gPmbEJpm&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 293 in output/dream_audio.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove use of this obsolete "usleep" function. Replace it by a call to "nanosleep" or "setitimer".

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

Check warning on line 905 in container/container_ffmpeg.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract the assignment to "dts" from this expression.

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

Check failure on line 174 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 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=AZ7SyK8zlwJ5gPmbEJp3&open=AZ7SyK8zlwJ5gPmbEJp3&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 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 failure on line 1367 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 1217 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 116 to the 25 allowed.

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

Check failure on line 1283 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=AZ7VN_fV-5iz9GRi5l8l&open=AZ7VN_fV-5iz9GRi5l8l&pullRequest=3

Check warning on line 745 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 warning on line 490 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 545 in output/dream_audio.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make the type of this parameter a pointer-to-const. The current type of "buf" is "unsigned char *".

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

Check warning on line 1391 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=AZ7SyK4NlwJ5gPmbEJpk&open=AZ7SyK4NlwJ5gPmbEJpk&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 failure on line 910 in main/exteplayer.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=AZ7SyK7LlwJ5gPmbEJpz&open=AZ7SyK7LlwJ5gPmbEJpz&pullRequest=3

Check warning on line 330 in main/exteplayer.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract the assignment to "end" from this expression.

See more on https://sonarcloud.io/project/issues?id=oe-alliance_exteplayer3&issues=AZ7SyK7LlwJ5gPmbEJpy&open=AZ7SyK7LlwJ5gPmbEJpy&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=AZ7SyK8zlwJ5gPmbEJp7&open=AZ7SyK8zlwJ5gPmbEJp7&pullRequest=3

Check failure on line 1359 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=AZ7VN_fV-5iz9GRi5l8o&open=AZ7VN_fV-5iz9GRi5l8o&pullRequest=3

Check warning on line 1209 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 603 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 failure on line 1294 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=AZ7VN_fV-5iz9GRi5l8m&open=AZ7VN_fV-5iz9GRi5l8m&pullRequest=3