• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Pipewireパッケージ(ちょっと変更)


Commit MetaInfo

Revisãoca069974fcf0be169c04dbf1f4625ceeecbae5f7 (tree)
Hora2023-11-16 18:35:33
AutorWim Taymans <wtaymans@redh...>
CommiterWim Taymans

Mensagem de Log

bluez5: avoid compiler warning

Mudança Sumário

Diff

--- a/spa/plugins/bluez5/bap-codec-lc3.c
+++ b/spa/plugins/bluez5/bap-codec-lc3.c
@@ -556,12 +556,13 @@ static int codec_enum_config(const struct media_codec *codec, uint32_t flags,
556556 spa_pod_builder_int(b, 8000);
557557 spa_pod_builder_int(b, 8000);
558558 }
559- if (i == 0)
560- return -EINVAL;
561559 if (i > 1)
562560 choice->body.type = SPA_CHOICE_Enum;
563561 spa_pod_builder_pop(b, &f[1]);
564562
563+ if (i == 0)
564+ return -EINVAL;
565+
565566 res = channels_to_positions(conf.channels, position);
566567 if (res == 0)
567568 return -EINVAL;