提交 2ca71015 编写于 作者: A Alex Beregszaszi

unwanted second definition of CHECKED_ALLOCZ

Originally committed as revision 2009 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 3efd4952
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册