Browse Source

cosmetics: Fix some typos.

Originally committed as revision 18894 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Diego Biurrun 16 years ago
parent
commit
607694c77b
2 changed files with 6 additions and 6 deletions
  1. +4
    -4
      libavcodec/msrledec.c
  2. +2
    -2
      libavcodec/msrledec.h

+ 4
- 4
libavcodec/msrledec.c View File

@@ -1,5 +1,5 @@
/* /*
* Micrsoft RLE Decoder
* Microsoft RLE decoder
* Copyright (C) 2008 Konstantin Shishkov * Copyright (C) 2008 Konstantin Shishkov
* *
* This file is part of FFmpeg. * This file is part of FFmpeg.
@@ -21,7 +21,7 @@


/** /**
* @file libavcodec/msrledec.c * @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: * For more information about the MS RLE format, visit:
* http://www.multimedia.cx/msrle.txt * http://www.multimedia.cx/msrle.txt
*/ */
@@ -195,7 +195,7 @@ static int msrle_decode_8_16_24_32(AVCodecContext *avctx, AVPicture *pic, int de
} }
} }
pos += p2; pos += p2;
} else { //Run of pixels
} else { //run of pixels
uint8_t pix[3]; //original pixel uint8_t pix[3]; //original pixel
switch(depth){ switch(depth){
case 8: pix[0] = *src++; case 8: pix[0] = *src++;
@@ -233,7 +233,7 @@ static int msrle_decode_8_16_24_32(AVCodecContext *avctx, AVPicture *pic, int de
} }
} }


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; return 0;
} }




+ 2
- 2
libavcodec/msrledec.h View File

@@ -1,5 +1,5 @@
/* /*
* Micrsoft RLE Decoder
* Microsoft RLE decoder
* Copyright (C) 2008 Konstantin Shishkov * Copyright (C) 2008 Konstantin Shishkov
* *
* This file is part of FFmpeg. * This file is part of FFmpeg.
@@ -25,7 +25,7 @@
#include "avcodec.h" #include "avcodec.h"


/** /**
* decode stream in MS RLE format into frame
* Decodes stream in MS RLE format into frame.
* *
* @param avctx codec context * @param avctx codec context
* @param pic destination frame * @param pic destination frame


Loading…
Cancel
Save