about summary refs log tree commit diff
path: root/converter
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2006-10-22 17:38:34 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2006-10-22 17:38:34 +0000
commit703563da864bcc5898b0a7c3f2e95c380873914c (patch)
tree699f13d17078c0890bf4dce98fbcbd0fcaf5d1da /converter
parent8240a0c02ace3dcdc51fc1f354494fbf9528dc61 (diff)
downloadnetpbm-mirror-703563da864bcc5898b0a7c3f2e95c380873914c.tar.gz
netpbm-mirror-703563da864bcc5898b0a7c3f2e95c380873914c.tar.xz
netpbm-mirror-703563da864bcc5898b0a7c3f2e95c380873914c.zip
Release 10.35.10
git-svn-id: http://svn.code.sf.net/p/netpbm/code/stable@105 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter')
-rw-r--r--converter/ppm/ppmtompeg/combine.c1
-rw-r--r--converter/ppm/ppmtompeg/mpeg.c2
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;