about summary refs log tree commit diff
path: root/converter/ppm/ppmtompeg/mpeg.c
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2006-10-22 16:35:58 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2006-10-22 16:35:58 +0000
commitc2a0d23d2ee9d6f6fc76a5c3911881cf745e02a9 (patch)
tree9309a5e1df1c3f45b7c9168d3a284fff4a64bf28 /converter/ppm/ppmtompeg/mpeg.c
parentcd11c46916d0af8e8bd776c1b81897c1f09a2898 (diff)
downloadnetpbm-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/ppm/ppmtompeg/mpeg.c')
-rw-r--r--converter/ppm/ppmtompeg/mpeg.c2
1 files changed, 1 insertions, 1 deletions
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;