avfilter: don't av_malloc(0).