diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2006-10-22 16:35:58 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2006-10-22 16:35:58 +0000 |
commit | c2a0d23d2ee9d6f6fc76a5c3911881cf745e02a9 (patch) | |
tree | 9309a5e1df1c3f45b7c9168d3a284fff4a64bf28 /converter | |
parent | cd11c46916d0af8e8bd776c1b81897c1f09a2898 (diff) | |
download | netpbm-mirror-c2a0d23d2ee9d6f6fc76a5c3911881cf745e02a9.tar.gz netpbm-mirror-c2a0d23d2ee9d6f6fc76a5c3911881cf745e02a9.tar.xz netpbm-mirror-c2a0d23d2ee9d6f6fc76a5c3911881cf745e02a9.zip |
Fix basic bugs in Ppmtompeg
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@102 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter')
-rw-r--r-- | converter/ppm/ppmtompeg/combine.c | 1 | ||||
-rw-r--r-- | converter/ppm/ppmtompeg/mpeg.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/converter/ppm/ppmtompeg/combine.c b/converter/ppm/ppmtompeg/combine.c index 341bb5dc..52cc646d 100644 --- a/converter/ppm/ppmtompeg/combine.c +++ b/converter/ppm/ppmtompeg/combine.c @@ -110,7 +110,6 @@ appendSpecifiedGopFiles(struct inputSource * const inputSourceP, nAttempts < READ_ATTEMPTS && !ifP; ++nAttempts) { - FILE * ifP; ifP = fopen(fileName, "rb"); if (ifP == NULL) { pm_message("ERROR: Couldn't read file '%s'. retry %u", diff --git a/converter/ppm/ppmtompeg/mpeg.c b/converter/ppm/ppmtompeg/mpeg.c index a934ed09..fafbb97a 100644 --- a/converter/ppm/ppmtompeg/mpeg.c +++ b/converter/ppm/ppmtompeg/mpeg.c @@ -1150,7 +1150,7 @@ GenMPEGStream(struct inputSource * const inputSourceP, if (showBitRatePerFrame) OpenBitRateFile(); /* May modify showBitRatePerFrame */ - if (context == CONTEXT_WHOLESTREAM) + if (context == CONTEXT_WHOLESTREAM || context == CONTEXT_GOP) bbP = Bitio_New(ofP); else bbP = NULL; |