[mythtv] [PATCH] mpegvideo.c patch for gcc 2.95 users

Chris Delis cedelis at uillinois.edu
Wed Dec 31 17:33:01 EST 2003


Hello,

Thought I'd share this one-liner patch that fixes a compilation error I'm getting.

--Chris

-------------- next part --------------
Index: mythtv/libs/libavcodec/mpegvideo.c
===================================================================
RCS file: /var/lib/mythcvs/mythtv/libs/libavcodec/mpegvideo.c,v
retrieving revision 1.59
diff -u -r1.59 mpegvideo.c
--- mythtv/libs/libavcodec/mpegvideo.c	30 Dec 2003 07:05:23 -0000	1.59
+++ mythtv/libs/libavcodec/mpegvideo.c	31 Dec 2003 22:26:11 -0000
@@ -1453,8 +1453,8 @@
         const int shift= 1 + s->quarter_sample;
         int mb_y;
         uint8_t *ptr;
-        s->low_delay=0; //needed to see the vectors without trashing the buffers
         int i;
+        s->low_delay=0; //needed to see the vectors without trashing the buffers
 
         for(i=0; i<3; i++){
             memcpy(s->visualization_buffer[i], pict->data[i], (i==0) ? pict->linesize[i]*s->height:pict->linesize[i]*s->height/2);


More information about the mythtv-dev mailing list