View Single Post
  #2   (View Single Post)  
Old 13th April 2009
ephemera's Avatar
ephemera ephemera is offline
Knuth's homeboy
 
Join Date: Apr 2008
Posts: 537
Default

Try using lseek(2) instead of fseek(3):

if (lseek( ifd, 2352, SEEK_SET ) == (off_t)-1) /* seek 1 frame in */
return 1;

Maybe mixing fseek(3) and read(2) is not ok?
Anyway, thats only a wild guess, you should ask on the fbsd ML or freebsdforum.

Last edited by ephemera; 13th April 2009 at 04:19 PM.
Reply With Quote