# HG changeset patch # User al3x # Date 1057339013 0 # Node ID 6e5d4ec4f3ab7b3822383aec788e4dc175b3af34 # Parent 09b8fe0f0139e300374ccc5fbb61fdabecd1c933 unwanted second definition of CHECKED_ALLOCZ diff -r 09b8fe0f0139 -r 6e5d4ec4f3ab h264.c --- 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);