diff --git a/libavcodec/utils.c b/libavcodec/utils.c index e9e6725221..554c9cd157 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -24,8 +24,6 @@ void *av_mallocz(unsigned int size) { void *ptr; - if(size == 0) fprintf(stderr, "Warning, allocating 0 bytes\n"); - ptr = av_malloc(size); if (!ptr) return NULL;