]> Creatis software - gdcm.git/blobdiff - src/gdcmmpeg2/src/mpeg2dec/subspic.c
BUG: Replace 0 with SEEK_SET, this was wrong for djgpp
[gdcm.git] / src / gdcmmpeg2 / src / mpeg2dec / subspic.c
index 67bb555dfce773a5018293a69c0e142ae377e96e..fbe238b64ce4474b05ac6f72980d200b5719fa3d 100644 (file)
@@ -320,7 +320,7 @@ int framenum;
   /* seek to location in big file where desired frame begins */
   /* note: this offset cannot exceed a few billion bytes due to the */
   /*       obvious limitations of 32-bit integers */
-  fseek(fd, offset, 0);
+  fseek(fd, offset, SEEK_SET);
 
   /* Y  */
   for (line=0; line<Coded_Picture_Height; line++)