changeset 1341:6e5d4ec4f3ab libavcodec

unwanted second definition of CHECKED_ALLOCZ
author al3x
date Fri, 04 Jul 2003 17:16:53 +0000
parents 09b8fe0f0139
children f574934c4219
files h264.c
diffstat 1 files changed, 0 insertions(+), 10 deletions(-) [+]
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);