summaryrefslogtreecommitdiff
blob: 6aa51bb6f7649b620228a96f70522eeebd85d4e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
http://bugs.gentoo.org/150063

--- converter/ppm/ppmtompeg/mpeg.c
+++ converter/ppm/ppmtompeg/mpeg.c
@@ -1150,7 +1150,7 @@ GenMPEGStream(struct inputSource * const
     if (showBitRatePerFrame)
         OpenBitRateFile();  /* May modify showBitRatePerFrame */
 
-    if (context == CONTEXT_WHOLESTREAM)
+    if (context == CONTEXT_WHOLESTREAM || context == CONTEXT_GOP)
         bbP = Bitio_New(ofP);
     else
         bbP = NULL;
--- converter/ppm/ppmtompeg/combine.c
+++ converter/ppm/ppmtompeg/combine.c
@@ -110,7 +110,6 @@ appendSpecifiedGopFiles(struct inputSour
              nAttempts < READ_ATTEMPTS && !ifP;
              ++nAttempts) {
 
-            FILE * ifP;
             ifP = fopen(fileName, "rb");
             if (ifP == NULL) {
                 pm_message("ERROR:  Couldn't read file '%s'.  retry %u",