]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cap_ogg.c
command line option -readonly to turn off all writing
[xonotic/darkplaces.git] / cap_ogg.c
index de3132d14552b539c692260fe7dc7862a98f2eb9..a4913aeb332a05d2eedbae1a5dd4642daade7999 100644 (file)
--- a/cap_ogg.c
+++ b/cap_ogg.c
@@ -828,7 +828,7 @@ static void SCR_CaptureVideo_Ogg_ConvertFrame_BGRA_to_YUV(void)
        yuv_buffer *yuv;
        int x, y;
        int blockr, blockg, blockb;
-       unsigned char *b = cls.capturevideo.outbuffer;
+       unsigned char *b;
        int w = cls.capturevideo.width;
        int h = cls.capturevideo.height;
        int inpitch = w*4;