Mercurial > libavcodec.hg
comparison utils.c @ 11781:22b17f922f2b libavcodec
Cosmetics : Fix typo.
author | jai_menon |
---|---|
date | Thu, 27 May 2010 04:25:50 +0000 |
parents | 3c0dffc64d86 |
children | 867d82f512df |
comparison
equal
deleted
inserted
replaced
11780:5ad7f6da90de | 11781:22b17f922f2b |
---|---|
321 | 321 |
322 buf->base[i]= av_malloc(size[i]+16); //FIXME 16 | 322 buf->base[i]= av_malloc(size[i]+16); //FIXME 16 |
323 if(buf->base[i]==NULL) return -1; | 323 if(buf->base[i]==NULL) return -1; |
324 memset(buf->base[i], 128, size[i]); | 324 memset(buf->base[i], 128, size[i]); |
325 | 325 |
326 // no edge if EDEG EMU or not planar YUV | 326 // no edge if EDGE EMU or not planar YUV |
327 if((s->flags&CODEC_FLAG_EMU_EDGE) || !size[2]) | 327 if((s->flags&CODEC_FLAG_EMU_EDGE) || !size[2]) |
328 buf->data[i] = buf->base[i]; | 328 buf->data[i] = buf->base[i]; |
329 else | 329 else |
330 buf->data[i] = buf->base[i] + FFALIGN((buf->linesize[i]*EDGE_WIDTH>>v_shift) + (EDGE_WIDTH>>h_shift), stride_align[i]); | 330 buf->data[i] = buf->base[i] + FFALIGN((buf->linesize[i]*EDGE_WIDTH>>v_shift) + (EDGE_WIDTH>>h_shift), stride_align[i]); |
331 } | 331 } |