OSDN Git Service

alsa-audio-dec: explicitly cast the delay to a signed int64
authorAnton Khirnov <anton@khirnov.net>
Sun, 1 Dec 2013 08:27:01 +0000 (09:27 +0100)
committerAnton Khirnov <anton@khirnov.net>
Tue, 3 Dec 2013 11:04:26 +0000 (12:04 +0100)
commit089fac77a6bf9199a5ec161e9c27850f0a680541
treeae28f83f4a578b7384964212782bdc9829e2583f
parent97d19c2fec351093652b9eef8ef030227aec57df
alsa-audio-dec: explicitly cast the delay to a signed int64

Otherwise the expression will be evaluated as unsigned, which will break
when the result should be negative.
CC:libav-stable@libav.org
libavdevice/alsa-audio-dec.c