comparison postprocess.c @ 18:2cd017ec54f3 libpostproc

1000000l for lu_zero (commiting untested? code)
author michael
date Tue, 03 Oct 2006 17:24:07 +0000
parents ac05bfe3da66
children da3bfee1fa67
comparison
equal deleted inserted replaced
17:1648a390355a 18:2cd017ec54f3
955 void pp_free_mode(pp_mode_t *mode){ 955 void pp_free_mode(pp_mode_t *mode){
956 av_free(mode); 956 av_free(mode);
957 } 957 }
958 958
959 static void reallocAlign(void **p, int alignment, int size){ 959 static void reallocAlign(void **p, int alignment, int size){
960 av_free(p); 960 av_free(*p);
961 *p= av_mallocz(size); 961 *p= av_mallocz(size);
962 } 962 }
963 963
964 static void reallocBuffers(PPContext *c, int width, int height, int stride, int qpStride){ 964 static void reallocBuffers(PPContext *c, int width, int height, int stride, int qpStride){
965 int mbWidth = (width+15)>>4; 965 int mbWidth = (width+15)>>4;