Originally committed as revision 9221 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Diego Biurrun 2007-06-04 23:07:27 +00:00
parent 8d75b5a2fb
commit ac3967c1ce
2 changed files with 3 additions and 3 deletions

View File

@ -180,7 +180,7 @@ static void png_put_interlaced_row(uint8_t *dst, int width,
dsp_mask = png_pass_dsp_mask[pass]; dsp_mask = png_pass_dsp_mask[pass];
switch(bits_per_pixel) { switch(bits_per_pixel) {
case 1: case 1:
/* we must intialize the line to zero before writing to it */ /* we must initialize the line to zero before writing to it */
if (pass == 0) if (pass == 0)
memset(dst, 0, (width + 7) >> 3); memset(dst, 0, (width + 7) >> 3);
src_x = 0; src_x = 0;

View File

@ -64,7 +64,7 @@ void av_destruct_packet(AVPacket *pkt);
void av_init_packet(AVPacket *pkt); void av_init_packet(AVPacket *pkt);
/** /**
* Allocate the payload of a packet and intialize its fields to default values. * Allocate the payload of a packet and initialize its fields to default values.
* *
* @param pkt packet * @param pkt packet
* @param size wanted payload size * @param size wanted payload size
@ -73,7 +73,7 @@ void av_init_packet(AVPacket *pkt);
int av_new_packet(AVPacket *pkt, int size); int av_new_packet(AVPacket *pkt, int size);
/** /**
* Allocate and read the payload of a packet and intialize its fields to default values. * Allocate and read the payload of a packet and initialize its fields to default values.
* *
* @param pkt packet * @param pkt packet
* @param size wanted payload size * @param size wanted payload size