changeset 31289:2dead2f28eac

cosmetics: Remove commented-out cruft.
author diego
date Wed, 09 Jun 2010 16:07:46 +0000
parents 020ae1402728
children f60cd3b9d453
files libmpcodecs/vd_libmpeg2.c
diffstat 1 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vd_libmpeg2.c	Wed Jun 09 14:35:31 2010 +0000
+++ b/libmpcodecs/vd_libmpeg2.c	Wed Jun 09 16:07:46 2010 +0000
@@ -38,8 +38,6 @@
 
 LIBVD_EXTERN(libmpeg2)
 
-//#include "libvo/video_out.h"	// FIXME!!!
-
 #include "libmpeg2/mpeg2.h"
 #include "libmpeg2/attributes.h"
 #include "libmpeg2/mpeg2_internal.h"
@@ -82,7 +80,6 @@
 static int init(sh_video_t *sh){
     vd_libmpeg2_ctx_t *context;
     mpeg2dec_t * mpeg2dec;
-//    const mpeg2_info_t * info;
     int accel;
 
     accel = 0;
@@ -146,8 +143,6 @@
     int stride[MP_MAX_PLANES] = {mpeg2dec->decoder.stride, mpeg2dec->decoder.uv_stride, mpeg2dec->decoder.uv_stride};
     uint8_t *srcs[MP_MAX_PLANES] = {src[0], src[1], src[2]};
 
-//  printf("draw_slice() y=%d  \n",y);
-
     mpcodecs_draw_slice(sh, srcs,
 		stride, info->sequence->picture_width,
 		(y+16<=info->sequence->picture_height) ? 16 :
@@ -232,7 +227,6 @@
             drop_frame |= framedrop>=2; // hard drop
             if (drop_frame) {
                mpeg2_skip(mpeg2dec, 1);
-	       //printf("Dropping Frame ...\n");
 	       break;
 	    }
             mpeg2_skip(mpeg2dec, 0); //mpeg2skip skips frames until set again to 0
@@ -306,7 +300,6 @@
 		    memcpy(mpeg2dec->pending_buffer+mpeg2dec->pending_length, data, len);
 		    mpeg2dec->pending_length += len;
 		}
-//		fprintf(stderr, "pending = %d\n", mpeg2dec->pending_length);
 		return mpi;
 	    }
 	}