]> git.wh0rd.org - patches.git/blob - ppmtompeg-handle-gop.patch
more random patches. who knows.
[patches.git] / ppmtompeg-handle-gop.patch
1 Index: 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;