# HG changeset patch # User diego # Date 1276099666 0 # Node ID 2dead2f28eac2565100e6d03dcd450229209303e # Parent 020ae1402728d5fae8f2027872c5d080aeeb68a1 cosmetics: Remove commented-out cruft. diff -r 020ae1402728 -r 2dead2f28eac libmpcodecs/vd_libmpeg2.c --- 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; } }