# HG changeset patch # User michael # Date 1175987914 0 # Node ID 1a4c48de8166c53b82654850e4bc0e96e93d1c79 # Parent d2fbd9c6df0675e20c6f08ef7c09c9b0088e3e7c remove redundant comments diff -r d2fbd9c6df06 -r 1a4c48de8166 bethsoftvideo.c --- a/bethsoftvideo.c Sat Apr 07 23:17:06 2007 +0000 +++ b/bethsoftvideo.c Sat Apr 07 23:18:34 2007 +0000 @@ -42,7 +42,7 @@ vid->frame.reference = 1; vid->frame.buffer_hints = FF_BUFFER_HINTS_VALID | FF_BUFFER_HINTS_PRESERVE | FF_BUFFER_HINTS_REUSABLE; - avctx->pix_fmt = PIX_FMT_PAL8; // palette in vid->frame.data[1] + avctx->pix_fmt = PIX_FMT_PAL8; return 0; } @@ -51,7 +51,7 @@ uint32_t * palette = (uint32_t *)frame->data[1]; int a; for(a = 0; a < 256; a++){ - palette[a] = AV_RB24(&palette_buffer[a * 3]) * 4; // multiply all colors by 4 + palette[a] = AV_RB24(&palette_buffer[a * 3]) * 4; } frame->palette_has_changed = 1; } @@ -69,7 +69,6 @@ uint8_t rle_num_bytes; int yoffset; - // reget buffer will copy old data, good for simple difference frames if (avctx->reget_buffer(avctx, &vid->frame)) { av_log(avctx, AV_LOG_ERROR, "reget_buffer() failed\n"); return -1;