qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] audio: fix missing break


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH] audio: fix missing break
Date: Wed, 23 Oct 2019 12:51:55 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1

On 10/23/19 10:24 AM, Paolo Bonzini wrote:
Reported by Coverity (CID 1406449).

Gerd sent the same patch earlier:
https://lists.gnu.org/archive/html/qemu-devel/2019-10/msg05923.html

But your description is better.
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>


Signed-off-by: Paolo Bonzini <address@hidden>
---
  audio/paaudio.c | 1 +
  1 file changed, 1 insertion(+)

diff --git a/audio/paaudio.c b/audio/paaudio.c
index df541a72d3..55a91f8980 100644
--- a/audio/paaudio.c
+++ b/audio/paaudio.c
@@ -385,6 +385,7 @@ static pa_stream *qpa_simple_new (
          map.map[5] = PA_CHANNEL_POSITION_REAR_RIGHT;
          map.map[6] = PA_CHANNEL_POSITION_SIDE_LEFT;
          map.map[7] = PA_CHANNEL_POSITION_SIDE_RIGHT;
+        break;
default:
          dolog("Internal error: unsupported channel count %d\n", ss->channels);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]