codec/decoder/video: change width and height to u32

This commit is contained in:
meh 2015-05-18 22:58:28 +02:00
parent 3825c5486b
commit 22faf2f99c

View File

@ -24,15 +24,15 @@ impl Video {
}
}
pub fn width(&self) -> usize {
pub fn width(&self) -> u32 {
unsafe {
(*self.ptr).width as usize
(*self.ptr).width as u32
}
}
pub fn height(&self) -> usize {
pub fn height(&self) -> u32 {
unsafe {
(*self.ptr).height as usize
(*self.ptr).height as u32
}
}