summaryrefslogtreecommitdiff
path: root/libavcodec/h264.c
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2003-07-04 17:16:53 +0000
committerAlex Beregszaszi <alex@rtfs.hu>2003-07-04 17:16:53 +0000
commit2ca71015efdffd9ff7d1b576d786b8d553950aa1 (patch)
treec6e173a5dce501e62d8ddc60536ab7485847efbf /libavcodec/h264.c
parent3efd4952dfcc0e452d28910758876884925c6175 (diff)
unwanted second definition of CHECKED_ALLOCZ
Originally committed as revision 2009 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r--libavcodec/h264.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 6cf19c4712..edca01b3c7 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -2106,16 +2106,6 @@ static void init_pred_ptrs(H264Context *h){
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);