Mercurial > libavcodec.hg
diff h264.c @ 1341:6e5d4ec4f3ab libavcodec
unwanted second definition of CHECKED_ALLOCZ
author | al3x |
---|---|
date | Fri, 04 Jul 2003 17:16:53 +0000 |
parents | c05c381a9c47 |
children | a0c0bee12abf |
line wrap: on
line diff
--- a/h264.c Fri Jul 04 09:39:05 2003 +0000 +++ b/h264.c Fri Jul 04 17:16:53 2003 +0000 @@ -2106,16 +2106,6 @@ h->pred16x16[DC_128_PRED8x8 ]= pred16x16_128_dc_c; } -//FIXME factorize -#define CHECKED_ALLOCZ(p, size)\ -{\ - p= av_mallocz(size);\ - if(p==NULL){\ - perror("malloc");\ - goto fail;\ - }\ -} - static void free_tables(H264Context *h){ av_freep(&h->intra4x4_pred_mode); av_freep(&h->non_zero_count);