OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d340f6
)
audio/hda: fix CID 1393631
author
Gerd Hoffmann
<kraxel@redhat.com>
Mon, 2 Jul 2018 14:55:12 +0000
(16:55 +0200)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Tue, 3 Jul 2018 09:45:33 +0000
(11:45 +0200)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id:
20180702145513
.11481-2-kraxel@redhat.com
hw/audio/hda-codec.c
patch
|
blob
|
history
diff --git
a/hw/audio/hda-codec.c
b/hw/audio/hda-codec.c
index
9f630fa
..
2b58c35
100644
(file)
--- a/
hw/audio/hda-codec.c
+++ b/
hw/audio/hda-codec.c
@@
-189,7
+189,7
@@
struct HDAAudioState {
static inline int64_t hda_bytes_per_second(HDAAudioStream *st)
{
- return 2 * st->as.nchannels * st->as.freq;
+ return 2
LL
* st->as.nchannels * st->as.freq;
}
static inline void hda_timer_sync_adjust(HDAAudioStream *st, int64_t target_pos)