OSDN Git Service

audio: fix missing break
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 23 Oct 2019 08:24:20 +0000 (10:24 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 26 Oct 2019 13:38:06 +0000 (15:38 +0200)
Reported by Coverity (CID 1406449).

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
audio/paaudio.c

index df541a7..55a91f8 100644 (file)
@@ -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);