Browse Source

unwanted second definition of CHECKED_ALLOCZ

Originally committed as revision 2009 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Alex Beregszaszi 22 years ago
parent
commit
2ca71015ef
1 changed files with 0 additions and 10 deletions
  1. +0
    -10
      libavcodec/h264.c

+ 0
- 10
libavcodec/h264.c View File

@@ -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);


Loading…
Cancel
Save