about summary refs log tree commit diff
path: root/converter
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2024-10-13 18:11:57 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2024-10-13 18:11:57 +0000
commit5d402b1c65787bcc30f72fd70abd1b1fe723e306 (patch)
treeb5d722796021c3e8bc312b34a65551807b5c29ee /converter
parentb5ce2c1e17a2c54884abdab3b2c562aa7c4f405a (diff)
downloadnetpbm-mirror-5d402b1c65787bcc30f72fd70abd1b1fe723e306.tar.gz
netpbm-mirror-5d402b1c65787bcc30f72fd70abd1b1fe723e306.tar.xz
netpbm-mirror-5d402b1c65787bcc30f72fd70abd1b1fe723e306.zip
Fix incorrect type
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4963 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter')
-rw-r--r--converter/ppm/ppmtompeg/mpeg.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/converter/ppm/ppmtompeg/mpeg.c b/converter/ppm/ppmtompeg/mpeg.c
index 08d2462b..c11fb2c9 100644
--- a/converter/ppm/ppmtompeg/mpeg.c
+++ b/converter/ppm/ppmtompeg/mpeg.c
@@ -97,7 +97,7 @@ static boolean  frameCountsUnknown;
 /* important -- don't initialize anything here */
 /* must be re-initted anyway in GenMPEGStream */
 
-extern int  IOtime;
+extern time_t  IOtime;
 extern boolean  resizeFrame;
 extern int outputWidth, outputHeight;
 int     gopSize = 100;  /* default */
@@ -431,7 +431,7 @@ getBFrame(int                  const frameNum,
           boolean              const childProcess,
           boolean              const remoteIO,
           MpegFrame **         const bFramePP,
-          int *                const IOtimeP,
+          time_t *             const IOtimeP,
           unsigned int *       const framesReadP) {
 /*----------------------------------------------------------------------------
    Get Frame 'frameNum', which is a B frame related to previous reference
@@ -480,7 +480,7 @@ processBFrames(MpegFrame *          const pastRefFrameP,
                struct inputSource * const inputSourceP,
                boolean              const remoteIo,
                boolean              const childProcess,
-               int *                const IOtimeP,
+               time_t *             const IOtimeP,
                BitBucket *          const wholeStreamBbP,
                const char *         const outputFileName,
                unsigned int *       const framesReadP,
@@ -653,7 +653,7 @@ readAndSaveFrame(struct inputSource * const inputSourceP,
                  const char *         const inputConversion,
                  MpegFrame *          const pastRefFrameP,
                  unsigned int *       const framesReadP,
-                 int *                const ioTimeP,
+                 time_t *             const ioTimeP,
                  bool *               const endOfStreamP) {
 /*----------------------------------------------------------------------------
    Read the next frame from Standard Input and add it to the linked list
@@ -804,7 +804,7 @@ getPreviousFrame(unsigned int         const frameStart,
                  const char *         const inputConversion,
                  MpegFrame **         const framePP,
                  unsigned int *       const framesReadP,
-                 int *                const ioTimeP) {
+                 time_t *             const ioTimeP) {
 
     /* This needs to be modularized.  It shouldn't issue messages about
        encoding GOPs and B frames, since it knows nothing about those.
@@ -913,7 +913,7 @@ getFrame(MpegFrame **         const framePP,
          const char *         const slaveConversion,
          const char *         const inputConversion,
          unsigned int *       const framesReadP,
-         int *                const ioTimeP) {
+         time_t *             const ioTimeP) {
 /*----------------------------------------------------------------------------
    Get frame with number 'frameNumber' as *frameP.