Mercurial > libdvdread4.hg
comparison dvd_input.c @ 27:98951f8ec89c src
cosmetics: Sync indentation and similar changes from libdvdread 0.9.5.
author | diego |
---|---|
date | Thu, 25 Sep 2008 09:17:42 +0000 |
parents | 0d82d0f30c98 |
children | 80045db7439a |
comparison
equal
deleted
inserted
replaced
26:0d82d0f30c98 | 27:98951f8ec89c |
---|---|
196 { | 196 { |
197 off_t pos; | 197 off_t pos; |
198 | 198 |
199 pos = lseek(dev->fd, (off_t)blocks * (off_t)DVD_VIDEO_LB_LEN, SEEK_SET); | 199 pos = lseek(dev->fd, (off_t)blocks * (off_t)DVD_VIDEO_LB_LEN, SEEK_SET); |
200 if(pos < 0) { | 200 if(pos < 0) { |
201 return pos; | 201 return pos; |
202 } | 202 } |
203 /* assert pos % DVD_VIDEO_LB_LEN == 0 */ | 203 /* assert pos % DVD_VIDEO_LB_LEN == 0 */ |
204 return (int) (pos / DVD_VIDEO_LB_LEN); | 204 return (int) (pos / DVD_VIDEO_LB_LEN); |
205 } | 205 } |
206 | 206 |