scummvm random work
[patches.git] / ppmtompeg-handle-gop.patch
CommitLineData
5e993f12 1Index: converter/ppm/ppmtompeg/mpeg.c
2===================================================================
3--- converter/ppm/ppmtompeg/mpeg.c (revision 82)
4+++ converter/ppm/ppmtompeg/mpeg.c (working copy)
5@@ -1150,7 +1150,7 @@ GenMPEGStream(struct inputSource * const
6 if (showBitRatePerFrame)
7 OpenBitRateFile(); /* May modify showBitRatePerFrame */
8
9- if (context == CONTEXT_WHOLESTREAM)
10+ if (context == CONTEXT_WHOLESTREAM || context == CONTEXT_GOP)
11 bbP = Bitio_New(ofP);
12 else
13 bbP = NULL;