/*
- * Micrsoft RLE Decoder
+ * Microsoft RLE decoder
* Copyright (C) 2008 Konstantin Shishkov
*
* This file is part of FFmpeg.
/**
* @file libavcodec/msrledec.c
- * MS RLE Decoder based on decoder by Mike Melanson and my own for TSCC
+ * MS RLE decoder based on decoder by Mike Melanson and my own for TSCC
* For more information about the MS RLE format, visit:
* http://www.multimedia.cx/msrle.txt
*/
}
}
pos += p2;
- } else { //Run of pixels
+ } else { //run of pixels
uint8_t pix[3]; //original pixel
switch(depth){
case 8: pix[0] = *src++;
}
}
- av_log(avctx, AV_LOG_WARNING, "MS RLE warning: no End-of-picture code\n");
+ av_log(avctx, AV_LOG_WARNING, "MS RLE warning: no end-of-picture code\n");
return 0;
}
/*
- * Micrsoft RLE Decoder
+ * Microsoft RLE decoder
* Copyright (C) 2008 Konstantin Shishkov
*
* This file is part of FFmpeg.
#include "avcodec.h"
/**
- * decode stream in MS RLE format into frame
+ * Decodes stream in MS RLE format into frame.
*
* @param avctx codec context
* @param pic destination frame